*** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop.

View: New views
4 Messages — Rating Filter:   Alert me  

*** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop.

by Sascha Manns-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Mates,

first of all i would like to thank Jesica Jones for helping me (Spec & Patch).
Now the Buildprocess is longer :-)
ATM i'm getting:

+ make ptshared                                                                                                  
rm -f libatlas.so* liblapack.so* \                                                                              
                                lib*blas.so* libclapack.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
/usr/src/packages/BUILDROOT/libatlas3-3.9.14-1.x86_64/usr/lib64/atlas/libatlas.so.3
\        
           -o libatlas.so.3.0 \                                                                                  
           -rpath-link
/usr/src/packages/BUILDROOT/libatlas3-3.9.14-1.x86_64/usr/lib64/atlas \                  
           --whole-archive libatlas.a --no-whole-archive -lc -lm
ln -s ./libatlas.so.3.0 libatlas.so.3
ln -s ./libatlas.so.3.0 libatlas.so
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
error: Bad exit status from /var/tmp/rpm-tmp.NuktA1 (%build)

Has anyone an Idea to fix it?
--
Sincerely Yours

Sascha Manns
openSUSE Member
openSUSE Ambassador
openSUSE Build Service
openSUSE Marketing Team
Maifeldstrasse 10
D-56 727 Mayen

Phone: +49 2651 4014045
Email: saigkill@...
Web: http://saschamanns.gulli.to
Blog: http://saigkill.wordpress.com
Twitter: http://twitter.com/saigkill
ClaimID: http://claimid.com/saigkill

[atlas-bladudd_shared.patch]

diff -rau ATLAS.o/makes/Make.lib ATLAS/makes/Make.lib
--- ATLAS.o/makes/Make.lib 2009-04-07 15:11:39.000000000 +0100
+++ ATLAS/makes/Make.lib 2009-08-04 11:57:46.000000000 +0100
@@ -3,6 +3,9 @@
 #
 # override with libatlas.so only when atlas is built to one lib
 #
+so_ver_major=3
+so_ver = $(so_ver_major).0
+
 DYNlibs = liblapack.so libf77blas.so libcblas.so libatlas.so
 PTDYNlibs = liblapack.so libptf77blas.so libptcblas.so libatlas.so
 CDYNlibs = liblapack.so libcblas.so libatlas.so
@@ -36,47 +39,82 @@
 # The following commands are to build dynamic/shared objects on Linux
 # ===================================================================
 ptshared :
- - rm -f libatlas.so liblapack.so
+ - rm -f libatlas.so* liblapack.so* \
+ lib*blas.so* libclapack.so*
  $(MAKE) libatlas.so libptf77blas.so libf77blas.so \
                 libptcblas.so libcblas.so liblapack.so
 shared :
- - rm -f libatlas.so liblapack.so
+ - rm -f libatlas.so* liblapack.so*
  $(MAKE) libatlas.so libf77blas.so libcblas.so liblapack.so
 cptshared :
- - rm -f libatlas.so libclapack.so
+ - rm -f libatlas.so* libclapack.so*
  $(MAKE) libatlas.so libclapack.so libptcblas.so libcblas.so
 cshared :
- - rm -f libatlas.so libclapack.so
+ - rm -f libatlas.so* libclapack.so*
  $(MAKE) libatlas.so libclapack.so libcblas.so
 
 libatlas.so : libatlas.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libatlas.so -o libatlas.so \
+ ld $(LDFLAGS) -shared \
+           -soname $(LIBINSTdir)/libatlas.so.$(so_ver_major) \
+           -o libatlas.so.$(so_ver) \
            -rpath-link $(LIBINSTdir) \
            --whole-archive libatlas.a --no-whole-archive -lc $(LIBS)
+ ln -s ./libatlas.so.$(so_ver) libatlas.so.$(so_ver_major)
+ ln -s ./libatlas.so.$(so_ver) libatlas.so
+
 liblapack.so : liblapack.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/liblapack.so \
-            -o liblapack.so  -rpath-link $(LIBINSTdir) --whole-archive \
+ ld $(LDFLAGS) -shared \
+            -soname $(LIBINSTdir)/liblapack.so.$(so_ver_major) \
+            -o liblapack.so.$(so_ver) \
+            -rpath-link $(LIBINSTdir) --whole-archive \
            liblapack.a --no-whole-archive $(F77SYSLIB)
+ ln -s ./liblapack.so.$(so_ver) liblapack.so.$(so_ver_major)
+ ln -s ./liblapack.so.$(so_ver) liblapack.so
+
 libclapack.so : libclapack.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libclapack.so \
-           -o libclapack.so -rpath-link $(LIBINSTdir) \
+ ld $(LDFLAGS) -shared \
+           -soname $(LIBINSTdir)/libclapack.so.$(so_ver_major) \
+           -o libclapack.so.$(so_ver) \
+           -rpath-link $(LIBINSTdir) \
            --whole-archive libclapack.a --no-whole-archive -lc $(LIBS)
+ ln -s ./libclapack.so.$(so_ver) libclapack.so.$(so_ver_major)
+ ln -s ./libclapack.so.$(so_ver) libclapack.so
+
 libptf77blas.so : libptf77blas.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptf77blas.so \
-           -o libptf77blas.so -rpath-link $(LIBINSTdir) \
+ ld $(LDFLAGS) -shared \
+           -soname $(LIBINSTdir)/libptf77blas.so.$(so_ver_major) \
+           -o libptf77blas.so.$(so_ver) \
+           -rpath-link $(LIBINSTdir) \
            --whole-archive libptf77blas.a --no-whole-archive $(F77SYSLIB)
+ ln -s ./libptf77blas.so.$(so_ver) libptf77blas.so.$(so_ver_major)
+ ln -s ./libptf77blas.so.$(so_ver) libptf77blas.so
+
 libf77blas.so : libf77blas.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libf77blas.so \
-           -o libf77blas.so -rpath-link $(LIBINSTdir) \
+ ld $(LDFLAGS) -shared \
+           -soname $(LIBINSTdir)/libf77blas.so.$(so_ver_major) \
+           -o libf77blas.so.$(so_ver) \
+           -rpath-link $(LIBINSTdir) \
            --whole-archive libf77blas.a --no-whole-archive $(F77SYSLIB)
+ ln -s ./libf77blas.so.$(so_ver) libf77blas.so.$(so_ver_major)
+ ln -s ./libf77blas.so.$(so_ver) libf77blas.so
+
 libptcblas.so : libptcblas.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptcblas.so \
-           -o libptcblas.so -rpath-link $(LIBINSTdir) \
+ ld $(LDFLAGS) -shared \
+           -soname $(LIBINSTdir)/libptcblas.so.$(so_ver_major) \
+           -o libptcblas.so.$(so_ver) \
+           -rpath-link $(LIBINSTdir) \
           --whole-archive libptcblas.a --no-whole-archive -lc $(LIBS)
+ ln -s ./libptcblas.so.$(so_ver) libptcblas.so.$(so_ver_major)
+ ln -s ./libptcblas.so.$(so_ver) libptcblas.so
+
 libcblas.so : libcblas.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libcblas.so \
-           -o libcblas.so -rpath-link $(LIBINSTdir) \
+ ld $(LDFLAGS) -shared \
+           -soname $(liBINSTdir)/libcblas.so.$(so_ver_major) \
+           -o libcblas.so.$(so_ver) \
+           -rpath-link $(LIBINSTdir) \
           --whole-archive libcblas.a --no-whole-archive -lc $(LIBS)
+ ln -s ./libcblas.so.$(so_ver) libcblas.so.$(so_ver_major)
+ ln -s ./libcblas.so.$(so_ver) libcblas.so
 
 #
 # Builds one shared lib from all ATLAS files


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel

Re: *** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop.

by Jessica Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/10/09 13:39, Sascha Manns wrote:

> Hello Mates,
>
> first of all i would like to thank Jesica Jones for helping me (Spec & Patch).
> Now the Buildprocess is longer :-)
> ATM i'm getting:
>
> + make ptshared                                                                                                  
> rm -f libatlas.so* liblapack.so* \                                                                              
>                                 lib*blas.so* libclapack.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
> /usr/src/packages/BUILDROOT/libatlas3-3.9.14-1.x86_64/usr/lib64/atlas/libatlas.so.3
> \        
>            -o libatlas.so.3.0 \                                                                                  
>            -rpath-link
> /usr/src/packages/BUILDROOT/libatlas3-3.9.14-1.x86_64/usr/lib64/atlas \                  
>            --whole-archive libatlas.a --no-whole-archive -lc -lm
> ln -s ./libatlas.so.3.0 libatlas.so.3
> ln -s ./libatlas.so.3.0 libatlas.so
> 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
> error: Bad exit status from /var/tmp/rpm-tmp.NuktA1 (%build)
>
> Has anyone an Idea to fix it?
>

This is an error from make, telling you that it doesn't know how to
create libptf77blas.a, based on the information in the Makefiles.  This
is required for the 'make ptshared' step, so you're failing to build the
threaded, shared libraries.

It is hard to say what is causing it without seeing more detail.  I
would have to dig through the source at this point to see what is
happening.  Are you building using rpmbuild or mock for this?

Jess

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel

Re: *** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop.

by Sascha Manns-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jesscia,

Am Donnerstag 08 Oktober 2009 15:08:52 wrote Jessica Jones:
> This is an error from make, telling you that it doesn't know how to
> create libptf77blas.a, based on the information in the Makefiles.  This
> is required for the 'make ptshared' step, so you're failing to build the
> threaded, shared libraries.
>
> It is hard to say what is causing it without seeing more detail.  I
> would have to dig through the source at this point to see what is
> happening.  Are you building using rpmbuild or mock for this?
Yes, i'm using rpmbuild.
BTW: In the Patch i've found:
libptf77blas.so : libptf77blas.a
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptf77blas.so \
-           -o libptf77blas.so -rpath-link $(LIBINSTdir) \
+ ld $(LDFLAGS) -shared \
+           -soname $(LIBINSTdir)/libptf77blas.so.$(so_ver_major) \
+           -o libptf77blas.so.$(so_ver) \
+           -rpath-link $(LIBINSTdir) \
            --whole-archive libptf77blas.a --no-whole-archive $(F77SYSLIB)
+ ln -s ./libptf77blas.so.$(so_ver) libptf77blas.so.$(so_ver_major)
+ ln -s ./libptf77blas.so.$(so_ver) libptf77blas.so
So normally he must find the Rule...

--
Sincerely Yours

Sascha Manns
openSUSE Member
openSUSE Ambassador
openSUSE Build Service
openSUSE Marketing Team
Maifeldstrasse 10
D-56 727 Mayen

Phone: +49 2651 4014045
Email: saigkill@...
Web: http://saschamanns.gulli.to
Blog: http://saigkill.wordpress.com
Twitter: http://twitter.com/saigkill
ClaimID: http://claimid.com/saigkill

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel

Re: *** No rule to make target `libptf77blas.a', needed by `libptf77blas.so'. Stop.

by Jessica Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/10/09 14:51, Sascha Manns wrote:

> Hi Jesscia,
>
> Am Donnerstag 08 Oktober 2009 15:08:52 wrote Jessica Jones:
>> This is an error from make, telling you that it doesn't know how to
>> create libptf77blas.a, based on the information in the Makefiles.  This
>> is required for the 'make ptshared' step, so you're failing to build the
>> threaded, shared libraries.
>>
>> It is hard to say what is causing it without seeing more detail.  I
>> would have to dig through the source at this point to see what is
>> happening.  Are you building using rpmbuild or mock for this?
> Yes, i'm using rpmbuild.
> BTW: In the Patch i've found:
> libptf77blas.so : libptf77blas.a
> - ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptf77blas.so \
> -           -o libptf77blas.so -rpath-link $(LIBINSTdir) \
> + ld $(LDFLAGS) -shared \
> +           -soname $(LIBINSTdir)/libptf77blas.so.$(so_ver_major) \
> +           -o libptf77blas.so.$(so_ver) \
> +           -rpath-link $(LIBINSTdir) \
>             --whole-archive libptf77blas.a --no-whole-archive $(F77SYSLIB)
> + ln -s ./libptf77blas.so.$(so_ver) libptf77blas.so.$(so_ver_major)
> + ln -s ./libptf77blas.so.$(so_ver) libptf77blas.so
> So normally he must find the Rule...
>

Well, it doesn't fail when I build it in mock, so presumably there is
something different with your environment (mock runs rpmbuild within a
chroot, to keep things clean)?

If you go through the build steps yourself manually, do you see the same
error?

Jess

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Math-atlas-devel mailing list
Math-atlas-devel@...
https://lists.sourceforge.net/lists/listinfo/math-atlas-devel