Opened 17 years ago

Last modified 15 years ago

#11725 closed defect

libsndfile-1.0.17 — at Initial Version

Reported by: chicagotripp (Altoine Barker) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.4
Keywords: Cc:
Port:

Description

I can not install libsndfile because of it failing to find "-lFLAC" in the make all build portion. In the configuration portion of autoconf or pkgconfig (I know not which is responsible but I assume the first) it checks for -lFLAC and reports no, yet in the make all build it explicitly looks for that object which doesn't exist on my system. Here is what I cut and paste from my setup (macports 1.4, Xcode 2.4.1, G4 ibook, and Mac OSX 10.4.9):

<snip> ---> Configuring libsndfile DEBUG: Executing com.apple.configure (libsndfile) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_audio_libsndfile/work/libsndfile-1.0.17" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man' checking build system type... powerpc-apple-darwin8.9.0 checking host system type... powerpc-apple-darwin8.9.0 checking target system type... powerpc-apple-darwin8.9.0 checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking FLAC/all.h usability... yes checking FLAC/all.h presence... yes checking for FLAC/all.h... yes checking for FLACseekable_stream_encoder_set_tell_callback in -lFLAC... no

-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-

Configuration summary :

Version : ..................... 1.0.17 Experimental code : ........... no

Tools :

Compiler is GCC : ............. yes GCC major version : ........... 4

Installation directories :

Library directory : ........... /opt/local/lib Program directory : ........... /opt/local/bin Pkgconfig directory : ......... /opt/local/lib/pkgconfig HTML docs directory : ......... /opt/local/share/doc/libsndfile1-dev/html

Compiling some other packages against libsndfile may require the addition of "/opt/local/lib/pkgconfig" to the PKG_CONFIG_PATH environment variable. </snip> make all after this point condensed output. <snip> /usr/bin/libtool: can't locate file for: -lFLAC /usr/bin/libtool: file: -lFLAC is not an object file (not allowed in a library) make[3]: * [libsndfile.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_audio_libsndfile/work/libsndfile-1.0.17" && make all" returned error 2

/usr/bin/libtool: can't locate file for: -lFLAC /usr/bin/libtool: file: -lFLAC is not an object file (not allowed in a library) make[3]: * [libsndfile.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1

Warning: the following items did not execute (for libsndfile): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing. </snip>

I installed FLAC and still I receive the same configure and make all error.

Change History (0)

Note: See TracTickets for help on using tickets.