-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/2/11 6:09 PM, Hanspeter Niederstrasser wrote:
> On 10/2/2011 5:09 PM, Alexander Hansen wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> On 10/2/11 4:56 PM, Hanspeter Niederstrasser wrote:
>>> On 10/2/2011 1:59 PM, Alexander Hansen wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>
>>>> Package manager version: 0.31.99.cvs Distribution version:
>>>> selfupdate-cvs Fri Sep 30 20:50:43 2011, 10.7, x86_64 Trees:
>>>> local/main stable/main local/injected local/common
>>>> local/10.7 Xcode: 4.1
>>>>
>>>> MaxBuildJobs is set to 1
>>>>
>>>> I get the following failure:
>>>>
>>>> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -
>>>> -DFLaC__INLINE=__inline__ -DNDEBUG -I../../.. -I./include -
>>>> -I../../../include -I../../.. -I./include -I../../../include
>>>> - -I/sw/include -O3 -funroll-loops -finline-functions -Wall
>>>> -W -Winline - -g -O2 -MT picture.lo -MD -MP -MF
>>>> .deps/picture.Tpo -c picture.c - -fno-common -DPIC -o
>>>> .libs/picture.o if /bin/sh ../../../libtool --mode=compile
>>>> gcc -DHAVE_CONFIG_H -I. -I. - -I../../.. -I../../../include
>>>> -DFLaC__INLINE=__inline__ -DNDEBUG - -I../../.. -I./include
>>>> -I../../../include -I../../.. -I./include -
>>>> -I../../../include -I/sw/include -O3 -funroll-loops -
>>>> -finline-functions -Wall -W -Winline -g -O2 -MT
>>>> replaygain.lo -MD -MP - -MF ".deps/replaygain.Tpo" \ -c -o
>>>> replaygain.lo `test -f 'replaygain.c' || echo
>>>> './'`replaygain.c; \ then mv -f ".deps/replaygain.Tpo"
>>>> ".deps/replaygain.Plo"; \ else rm -f ".deps/replaygain.Tpo";
>>>> exit 1; \ fi libtool: compile: cannot determine name of
>>>> library object from `' make[4]: *** [replaygain.lo] Error 1
>>>
>>> I don't see this on 10.7.1 with MaxBuildJobs=1 or =8. Are all
>>> those '-' at the beginning of every line in your command above
>>> actually in the libtool command or are they an artifact of the
>>> email?
>>
>> They're an artifact.
>>
>> Do you have *awk
>>> or sed installed?
>>>
>>> These are my equivalent commands here:
>>>
>>> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include
>>> -DFLaC__INLINE=__inline__ -DNDEBUG -I../../.. -I./include
>>> -I../../../include -I../../.. -I./include -I../../../include
>>> -I/sw/include -O3 -funroll-loops -finline-functions -Wall -W
>>> -Winline -g -O2 -MT picture.lo -MD -MP -MF .deps/picture.Tpo -c
>>> picture.c -fno-common -DPIC -o .libs/picture.o if /bin/sh
>>> ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
>>> -I../../.. -I../../../include -DFLaC__INLINE=__inline__
>>> -DNDEBUG -I../../.. -I./include -I../../../include -I../../..
>>> -I./include -I../../../include -I/sw/include -O3
>>> -funroll-loops -finline-functions -Wall -W -Winline -g -O2 -MT
>>> replaygain.lo -MD -MP -MF ".deps/replaygain.Tpo" \ -c -o
>>> replaygain.lo `test -f 'replaygain.c' || echo
>>> './'`replaygain.c; \ then mv -f ".deps/replaygain.Tpo"
>>> ".deps/replaygain.Plo"; \ else rm -f ".deps/replaygain.Tpo";
>>> exit 1; \ fi
>>>
>>> Hanspeter
>>
>> I had Fink's sed and gawk installed. Without gawk, but with sed
>> still installed, I get further and wind up a different error:
>>
>> Making all in file make[5]: Entering directory
>> `/sw/src/fink.build/flac-1.2.1-1001/flac-1.2.1/examples/cpp/decode/file'
>>
>>
>>
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..
>> - -DFLaC__INLINE=__inline__ -DNDEBUG -I../../../.. -I./include -
>> -I../../../../include -I../../../.. -I./include
>> -I../../../../include - -I/sw/include -g -O2 -MT main.o -MD -MP
>> -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.cpp' || echo
>> './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
>> else rm -f ".deps/main.Tpo"; exit 1; \ fi /bin/sh
>> ../../../../libtool --mode=link g++ -g -O2 -o
>> example_cpp_decode_file main.o
>> ../../../../src/libFLAC++/libFLAC++.la
>> ../../../../src/libFLAC/libFLAC.la -L/sw/lib -logg -lm mkdir
>> .libs libtool: link: `../../../../src/libFLAC++/libFLAC++.la' is
>> not a valid libtool archive make[5]: ***
>> [example_cpp_decode_file] Error 1
>>
>> I can test it without Fink's sed once I get done updating
>> octave3.{0,2}.{5.4} yet again, since that carries a BDep on sed.
>
> I've just tried building on 10.7 and 10.5/i386 with both
> sed-4.2.1-2 and gawk-4.0.0-3 installed, and the build succeeded on
> both machines.
>
> This is my command that builds libFLAC++.la:
>
> /bin/sh ../../libtool --mode=link gcc -I/sw/include -O3
> -funroll-loops -finline-functions -Wall -W -Winline -g -O2 -o
> libFLAC.la -rpath /sw/lib -version-info 10:0:2 -lm bitmath.lo
> bitreader.lo bitwriter.lo cpu.lo crc.lo fixed.lo float.lo
> format.lo lpc.lo md5.lo memory.lo metadata_iterators.lo
> metadata_object.lo stream_decoder.lo stream_encoder.lo
> stream_encoder_framing.lo window.lo ogg_decoder_aspect.lo
> ogg_encoder_aspect.lo ogg_helper.lo ogg_mapping.lo -L/sw/lib -logg
> gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
> .libs/libFLAC.8.2.0.dylib .libs/bitmath.o .libs/bitreader.o
> .libs/bitwriter.o .libs/cpu.o .libs/crc.o .libs/fixed.o
> .libs/float.o .libs/format.o .libs/lpc.o .libs/md5.o .libs/memory.o
> .libs/metadata_iterators.o .libs/metadata_object.o
> .libs/stream_decoder.o .libs/stream_encoder.o
> .libs/stream_encoder_framing.o .libs/window.o
> .libs/ogg_decoder_aspect.o .libs/ogg_encoder_aspect.o
> .libs/ogg_helper.o .libs/ogg_mapping.o -lm -L/sw/lib
> /sw/lib/libogg.dylib -install_name /sw/lib/libFLAC.8.dylib
> -Wl,-compatibility_version -Wl,11 -Wl,-current_version -Wl,11.0
>
> Hanspeter
>
Without sed it built for me.
- --
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6JCYoACgkQB8UpO3rKjQ9f3wCfdfe7BLw0l/LfSa+6AVUf5aH2
8VUAoJUoLU/Be2b4CagWD0YU05PV9hBV
=wKB1
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users