Opened 14 years ago

Closed 14 years ago

#22670 closed defect (duplicate)

file not found: libptcblas.a

Reported by: veilleuxanthony@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: mklein-de (Michael Klein), martinr.williams@…
Port: Atlas

Description

This is my first foray into MacPorts, so if there's something I'm missing, I apologize. I'm trying to install Atlas, and I'm getting the following output:

--->  Computing dependencies for atlas
--->  Staging atlas into destroot
Error: Target org.macports.destroot returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/lib &&  ld -arch ppc -dynamic -dylib -single_module -dead_strip -x  -all_load -L. -L/opt/local/lib/gcc43 -ldylib1.o -dylib_install_name /opt/local/lib/libptcblas.dylib libptcblas.a -o  libptcblas.dylib -latlas  -lSystem" returned error 1
Command output: ld: file not found: libptcblas.a

Error: Status 1 encountered during processing.

I'm running MacPorts 1.8.1 on OSX Leopard 10.5.8, Xcode version 3.1.3. My processor is a PPC G5.

Attachments (1)

log.zip (61.1 KB) - added by veilleuxanthony@… 14 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 14 years ago by veilleuxanthony@…

I think the easiest fix (since it seems to be a problem with my machine rather than MacPorts as a whole) would be for someone to send me the libptcblas.a library. I tried to find it via the usual channels (Google) but no one seems to have a direct download.

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jameskyle@…

comment:3 Changed 14 years ago by jameskyle@…

I just built atlas on macports 1.8.1 osx 10.5 most recent patch level, xcode 3 on a powermac g5.

The library you're seeing is never actually intalled. During the destroot phase I have to create dylib (dynamic libs) manually from the library archives as they are not built by default. The only libraries installed are these:

  /opt/local/lib/libatlas.dylib
  /opt/local/lib/libcblas.dylib
  /opt/local/lib/libf77blas.dylib
  /opt/local/lib/liblapack.dylib
  /opt/local/lib/libptcblas.dylib
  /opt/local/lib/libptf77blas.dylib

The error you're receiving indicates a failure further up the build process.

Please provide the output of port -v build atlas after cleaning (port clean atlas)

-james

comment:4 in reply to:  3 Changed 14 years ago by veilleuxanthony@…

It seems like it's working, simply by turning the -v flag (which doesn't really make sense). I'll let you know once the build completes.

comment:5 Changed 14 years ago by veilleuxanthony@…

This is the tail end:

   STAGE 2-1-5: GEMV TUNE
make -f Makefile INSTALL_LOG/dMVRES pre=d 2>&1 | ./xatlas_tee INSTALL_LOG/dMVTUNE.LOG
make[1]: *** [build] Error 255
make: *** [build] Error 2

Warning: the following items did not execute (for atlas): org.macports.build
Error: Status 1 encountered during processing.

The whole log is now attached.

Changed 14 years ago by veilleuxanthony@…

Attachment: log.zip added

comment:6 Changed 14 years ago by paulbeard@…

Sign me up as Bitten By This as well. Same problem, same symptoms.

comment:7 Changed 14 years ago by mara.salvato@…

The same here. Identical error message...

comment:8 Changed 14 years ago by mklein-de (Michael Klein)

Cc: michael.klein@… added

Cc Me!

comment:9 Changed 14 years ago by mklein-de (Michael Klein)

Browsing through atlas-3.8.3/CONFIG/src/SpewMakeInc.c (search for THREADS) it looks like libptcblas.a and libptf77blas.a are only built on SMP machines, but not on single core machines like my G4 PowerBook.

comment:10 Changed 14 years ago by martinr.williams@…

Cc: martinr.williams@… added

Cc Me!

comment:11 Changed 14 years ago by jameskyle@…

Resolution: duplicate
Status: newclosed

I believe this is a duplicate of #22378 which has been resolved. Please test and reopen. (changes should be available within 30m of this post)

Note: See TracTickets for help on using tickets.