Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#11725 closed defect (duplicate)

libsndfile-1.0.17

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

Description (last modified by jmpalacios (Juan Manuel Palacios))

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 FLAC__seekable_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 (4)

comment:1 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Component: baseports
Description: modified (diff)
Milestone: MacPorts 1.4Port Bugs
Priority: BlockerExpected

This is not a base bug and it's not a blocker either.

-jmpp

comment:2 Changed 18 years ago by markd@…

Resolution: duplicate
Status: newclosed

This is a duplicate of #11725 so I'm closing it. It installs fine for me. Have you installed flac manually? Please leave any comments in ticket #11725. A workaround is in that ticket .

comment:3 Changed 18 years ago by markd@…

Oops, I meant it is a duplicate of #10905.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.