LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jaime Perea (jaime_at_[hidden])
Date: 2004-07-14 06:40:20


El Miércoles 14 Julio 2004 10:25, Nguyen Hung Vu escribió:
> Hello all,
>
> I download http://www.lam-mpi.org/download/files/lam-7.0.6-1.src.rpm
> and start rebuiling the src.rpm file with:
>
> #rpm -i lam-7.0.6-1.src.rpm
> #cd /usr/src/RPMS/SPECS
> #rpm -ba rpm -ba lam-7.0.6.spec
>
> and ended up with error:.....

A bit tricky but it worked for me, the following in just one line, perhaps
only the LDFLAGS variable is enough.

F77='g77 -pthread' CC='gcc -pthread' LDFLAGS=-lpthread CXX='g++ -pthread'
rpm --rebuild lam-7.0.6-1.src.rpm

Regards

-- 
           Jaime D. Perea Duarte. <jaime at iaa dot es>
             Linux registered user #10472
           Dep. Astrofisica Extragalactica.
           Instituto de Astrofisica de Andalucia (CSIC)
           Apdo. 3004, 18080 Granada, Spain.