[opensuse-packaging] libatlas3: Problems in make.lib
Hello Mates, now i'm trying to build libatlas3. I have the File (make.lib (attached)). Since compiling i get: + make shared rm -f libatlas.so liblapack.so make libatlas.so libf77blas.so libcblas.so liblapack.so make[1]: Entering directory `/usr/src/packages/BUILD/ATLAS/x86_64_base/lib' ld -melf_x86_64 -shared -soname /var/tmp/libatlas3-3.9.14-1- root/usr/lib64/atlas/libatlas.so -o libatlas.so \ -rpath-link /var/tmp/libatlas3-3.9.14-1-root/usr/lib64/atlas \ --whole-archive libatlas.a --no-whole-archive -lc -lm make[1]: `libf77blas.so' is up to date. make[1]: `libcblas.so' is up to date. ld -melf_x86_64 -shared -soname /var/tmp/libatlas3-3.9.14-1- root/usr/lib64/atlas/liblapack.so \ -o liblapack.so -rpath-link /var/tmp/libatlas3-3.9.14-1 r- root/usr/lib64/atlas --whole-archive \ liblapack.a --no-whole-archive -L/usr/lib64/gcc/x86_64-suse- linux/4.3 -lgfortran make[1]: Leaving directory `/usr/src/packages/BUILD/ATLAS/x86_64_base/lib' + make ptshared rm -f libatlas.so liblapack.so make libatlas.so libptf77blas.so libf77blas.so \ libptcblas.so libcblas.so liblapack.so make[1]: Entering directory `/usr/src/packages/BUILD/ATLAS/x86_64_base/lib' ld -melf_x86_64 -shared -soname /var/tmp/libatlas3-3.9.14-1- root/usr/lib64/atlas/libatlas.so -o libatlas.so \ -rpath-link /var/tmp/libatlas3-3.9.14-1-root/usr/lib64/atlas \ --whole-archive libatlas.a --no-whole-archive -lc -lm make[1]: *** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop. make[1]: Leaving directory `/usr/src/packages/BUILD/ATLAS/x86_64_base/lib' make: *** [ptshared] Error 2 So i've written an Patch (atlas-suse-shared.patch (attached). After them i get: With Patch: + cd lib + make shared Makefile:48: *** missing separator. Stop. error: Bad exit status from /var/tmp/rpm-tmp.55094 (%build) Anyone knows my Mistake? -- Sincerely yours Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On Thursday 03 of September 2009, Sascha 'saigkill' Manns wrote:
So i've written an Patch (atlas-suse-shared.patch (attached). After them i get: With Patch: + cd lib + make shared Makefile:48: *** missing separator. Stop. error: Bad exit status from /var/tmp/rpm-tmp.55094 (%build)
Anyone knows my Mistake?
Notice how every command in the original Makefile is preceded by a tab and not so anymore after your patch. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 028 972 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Sep 03, 2009 at 10:54:02PM +0200, Lubos Lunak wrote:
On Thursday 03 of September 2009, Sascha 'saigkill' Manns wrote:
So i've written an Patch (atlas-suse-shared.patch (attached). After them i get: With Patch: + cd lib + make shared Makefile:48: *** missing separator. Stop. error: Bad exit status from /var/tmp/rpm-tmp.55094 (%build)
Anyone knows my Mistake?
Notice how every command in the original Makefile is preceded by a tab and not so anymore after your patch.
Translation: tabs vs spaces DO matter in Makefiles, and make is unfriendly enough not to tell so in the error message. Sascha, the first Google hit (hint, hint) for "Makefile missing separator" is: http://www.delorie.com/djgpp/v2faq/faq22_17.html BTW, see how the page asserts that Beginning with version 3.78, GNU Make prints a message that hints at a possible SPACEs-vs-TAB problem, like this: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. It is not true for our make-3.81 -- Martin Vidner, YaST developer Helping people to participate: http://infotrope.net/blog/2009/07/25/standing-out-in-the-crowd-my-oscon-keyn... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Lubos Lunak
-
Martin Vidner
-
Sascha 'saigkill' Manns