Not compiling on Linux again

4 Messages Forum Options Options
Embed this topic
Permalink
Gordon Weast
Not compiling on Linux again
Reply Threaded MoreMore options
Print post
Permalink
I'm having trouble compiling on Linux again.  It looks like there is a
problem
in lib-src/libid3tag/libtool.  The command to make the library is using
some options
to gcc that aren't legal on Linux.

make[4]: Entering directory `/home/gordon/audacity/lib-src/libid3tag'
/bin/bash ./libtool --mode=link gcc  -Wall -g -O2   -o libid3tag.la
-rpath /usr/local/lib -version-info 3:0:3 version.lo ucs4.lo latin1.lo
utf16.lo utf8.lo parse.lo render.lo field.lo frametype.lo compat.lo
genre.lo frame.lo crc.lo util.lo tag.lo file.lo   -lz
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libid3tag.0.3.0.dylib  .libs/version.o .libs/ucs4.o .libs/latin1.o
.libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o
.libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o
.libs/util.o .libs/tag.o .libs/file.o  -lz -install_name  
/usr/local/lib/libid3tag.0.dylib -compatibility_version 4
-current_version 4.0
gcc: suppress: No such file or directory
gcc: /usr/local/lib/libid3tag.0.dylib: No such file or directory
gcc: 4: No such file or directory
gcc: 4.0: No such file or directory
gcc: unrecognized option '-compatibility_version'
gcc: unrecognized option '-current_version'
make[4]: *** [libid3tag.la] Error 1
make[4]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
make[1]: *** [libid3tag-recursive] Error 2
make[1]: Leaving directory `/home/gordon/audacity/lib-src'
make: *** [audacity] Error 2

If I configure without libid3tag, I get other errors when I try to compile.

I'm on Ubuntu 7.10.

At least I kept a copy of the last executable I got to compile correctly.

Gordon Weast


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Richard Ash (audacity-help)
Re: Not compiling on Linux again
Reply Threaded MoreMore options
Print post
Permalink
On Fri, 2008-07-18 at 22:17 -0400, Gordon Weast wrote:

> I'm having trouble compiling on Linux again.  It looks like there is a
> problem in lib-src/libid3tag/libtool.  The command to make the library is using
> some options
> to gcc that aren't legal on Linux.
>
> make[4]: Entering directory `/home/gordon/audacity/lib-src/libid3tag'
> /bin/bash ./libtool --mode=link gcc  -Wall -g -O2   -o libid3tag.la
> -rpath /usr/local/lib -version-info 3:0:3 version.lo ucs4.lo latin1.lo
> utf16.lo utf8.lo parse.lo render.lo field.lo frametype.lo compat.lo
> genre.lo frame.lo crc.lo util.lo tag.lo file.lo   -lz
> gcc -dynamiclib -flat_namespace -undefined suppress -o
> .libs/libid3tag.0.3.0.dylib  .libs/version.o .libs/ucs4.o .libs/latin1.o
> .libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o
> .libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o
> .libs/util.o .libs/tag.o .libs/file.o  -lz -install_name  
> /usr/local/lib/libid3tag.0.dylib -compatibility_version 4
> -current_version 4.0
> gcc: suppress: No such file or directory
> gcc: /usr/local/lib/libid3tag.0.dylib: No such file or directory
> gcc: 4: No such file or directory
> gcc: 4.0: No such file or directory
> gcc: unrecognized option '-compatibility_version'
> gcc: unrecognized option '-current_version'
> make[4]: *** [libid3tag.la] Error 1
> make[4]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
> make[1]: *** [libid3tag-recursive] Error 2
> make[1]: Leaving directory `/home/gordon/audacity/lib-src'
> make: *** [audacity] Error 2
>
> If I configure without libid3tag, I get other errors when I try to
> compile.
> I'm on Ubuntu 7.10.

Audacity (latest CVS) builds --without-libid3tag for me and works OK.
Configuring with local libid3tag also compiles correctly. It looks to me
like you are compiling with a libtool not correctly configured for your
system. This is odd because lib-src/libid3tag/libtool should be
generated by lib-src/libid3tag/configure when you configure audacity.

The problem seems to be that the audacity configure script only
reconfigures libraries in lib-src if they don't have Makefiles present,
so that, you having compiled using local libid3tag before, don't get it
reconfigured when you reconfigure audacity.

I've now updated configure to fix this, so if you re-run configure it
should regenerate libtool so that it works.

The other issue is that libtool is generated by configure, so we
shouldn't be distributing it at all. I've therefore deleted from CVS, so
you should find it is removed when you updated, then re-appears (in
working state) when you run configure.

Richard


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gordon Weast
Re: Not compiling on Linux again
Reply Threaded MoreMore options
Print post
Permalink
Yea, I tried deleting that libtool and reconfiguring didn't bring it
back yesterday.  Then doing the update from CVS brought it back.  I'll
try again today.  Thanks.

Gordon Weast

Richard Ash wrote:

> On Fri, 2008-07-18 at 22:17 -0400, Gordon Weast wrote:
>  
>> I'm having trouble compiling on Linux again.  It looks like there is a
>> problem in lib-src/libid3tag/libtool.  The command to make the library is using
>> some options
>> to gcc that aren't legal on Linux.
>>
>> make[4]: Entering directory `/home/gordon/audacity/lib-src/libid3tag'
>> /bin/bash ./libtool --mode=link gcc  -Wall -g -O2   -o libid3tag.la
>> -rpath /usr/local/lib -version-info 3:0:3 version.lo ucs4.lo latin1.lo
>> utf16.lo utf8.lo parse.lo render.lo field.lo frametype.lo compat.lo
>> genre.lo frame.lo crc.lo util.lo tag.lo file.lo   -lz
>> gcc -dynamiclib -flat_namespace -undefined suppress -o
>> .libs/libid3tag.0.3.0.dylib  .libs/version.o .libs/ucs4.o .libs/latin1.o
>> .libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o
>> .libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o
>> .libs/util.o .libs/tag.o .libs/file.o  -lz -install_name  
>> /usr/local/lib/libid3tag.0.dylib -compatibility_version 4
>> -current_version 4.0
>> gcc: suppress: No such file or directory
>> gcc: /usr/local/lib/libid3tag.0.dylib: No such file or directory
>> gcc: 4: No such file or directory
>> gcc: 4.0: No such file or directory
>> gcc: unrecognized option '-compatibility_version'
>> gcc: unrecognized option '-current_version'
>> make[4]: *** [libid3tag.la] Error 1
>> make[4]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
>> make[1]: *** [libid3tag-recursive] Error 2
>> make[1]: Leaving directory `/home/gordon/audacity/lib-src'
>> make: *** [audacity] Error 2
>>
>> If I configure without libid3tag, I get other errors when I try to
>> compile.
>> I'm on Ubuntu 7.10.
>>    
>
> Audacity (latest CVS) builds --without-libid3tag for me and works OK.
> Configuring with local libid3tag also compiles correctly. It looks to me
> like you are compiling with a libtool not correctly configured for your
> system. This is odd because lib-src/libid3tag/libtool should be
> generated by lib-src/libid3tag/configure when you configure audacity.
>
> The problem seems to be that the audacity configure script only
> reconfigures libraries in lib-src if they don't have Makefiles present,
> so that, you having compiled using local libid3tag before, don't get it
> reconfigured when you reconfigure audacity.
>
> I've now updated configure to fix this, so if you re-run configure it
> should regenerate libtool so that it works.
>
> The other issue is that libtool is generated by configure, so we
> shouldn't be distributing it at all. I've therefore deleted from CVS, so
> you should find it is removed when you updated, then re-appears (in
> working state) when you run configure.
>
> Richard
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> audacity-devel mailing list
> audacity-devel@...
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.138 / Virus Database: 270.5.2/1561 - Release Date: 7/18/2008 6:35 PM
>
>
>
>  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gordon Weast
Re: Not compiling on Linux again
Reply Threaded MoreMore options
Print post
Permalink
Richard,

Now I'm getting an error further down in slv2.

make -C slv2
make[2]: Entering directory `/home/gordon/audacity/lib-src/slv2'
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure  
--disable-option-checking --prefix=/usr/local/ --with-wx-version=2.8
--with-libflac=no --with-liblrdf=no --with-libraptor=no
--with-wx-config=/usr/local/bin/wx-config --disable-sqlite
--disable-flac --disable-alsa RAPTOR_CFLAGS=-I../../redland/raptor/src
RAPTOR_LIBS=-L.. -L../.. -lraptor
REDLAND_CFLAGS=-I../../redland/raptor/src -I../../redland/rasqal/src
-I../../redland/librdf REDLAND_LIBS=-L.. -L../.. -lrdf -lraptor -lrasqal
--with-pa-include=../portaudio-v19/include --cache-file=/dev/null
--srcdir=.  --no-create --no-recursion
./configure: line 1746: AM_INIT_AUTOMAKE: command not found
./configure: line 1801: AM_PROG_CC_C_O: command not found
./configure: line 1804: AC_DISABLE_SHARED: command not found
./configure: line 1805: AC_PROG_LIBTOOL: command not found
./configure: line 1891: syntax error near unexpected token `WITH_SWIG,'
./configure: line 1891: `AM_CONDITIONAL(WITH_SWIG, test "$bindings" =
"yes")'
make[2]: *** [config.status] Error 2
make[2]: Leaving directory `/home/gordon/audacity/lib-src/slv2'
make[1]: *** [slv2-recursive] Error 2
make[1]: Leaving directory `/home/gordon/audacity/lib-src'
make: *** [audacity] Error 2

I did a global grep on AM_INIT_AUTOMAKE and it shows up all over the place,
so it doesn't really make any sense as to why it's undefined here.  It
does look
like this macro takes several arguments and this configure script has it
with
no args.

Gordon Weast

Gordon Weast wrote:

> Yea, I tried deleting that libtool and reconfiguring didn't bring it
> back yesterday.  Then doing the update from CVS brought it back.  I'll
> try again today.  Thanks.
>
> Gordon Weast
>
> Richard Ash wrote:
>  
>> On Fri, 2008-07-18 at 22:17 -0400, Gordon Weast wrote:
>>  
>>    
>>> I'm having trouble compiling on Linux again.  It looks like there is a
>>> problem in lib-src/libid3tag/libtool.  The command to make the library is using
>>> some options
>>> to gcc that aren't legal on Linux.
>>>
>>> make[4]: Entering directory `/home/gordon/audacity/lib-src/libid3tag'
>>> /bin/bash ./libtool --mode=link gcc  -Wall -g -O2   -o libid3tag.la
>>> -rpath /usr/local/lib -version-info 3:0:3 version.lo ucs4.lo latin1.lo
>>> utf16.lo utf8.lo parse.lo render.lo field.lo frametype.lo compat.lo
>>> genre.lo frame.lo crc.lo util.lo tag.lo file.lo   -lz
>>> gcc -dynamiclib -flat_namespace -undefined suppress -o
>>> .libs/libid3tag.0.3.0.dylib  .libs/version.o .libs/ucs4.o .libs/latin1.o
>>> .libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o
>>> .libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o
>>> .libs/util.o .libs/tag.o .libs/file.o  -lz -install_name  
>>> /usr/local/lib/libid3tag.0.dylib -compatibility_version 4
>>> -current_version 4.0
>>> gcc: suppress: No such file or directory
>>> gcc: /usr/local/lib/libid3tag.0.dylib: No such file or directory
>>> gcc: 4: No such file or directory
>>> gcc: 4.0: No such file or directory
>>> gcc: unrecognized option '-compatibility_version'
>>> gcc: unrecognized option '-current_version'
>>> make[4]: *** [libid3tag.la] Error 1
>>> make[4]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
>>> make[2]: *** [all] Error 2
>>> make[2]: Leaving directory `/home/gordon/audacity/lib-src/libid3tag'
>>> make[1]: *** [libid3tag-recursive] Error 2
>>> make[1]: Leaving directory `/home/gordon/audacity/lib-src'
>>> make: *** [audacity] Error 2
>>>
>>> If I configure without libid3tag, I get other errors when I try to
>>> compile.
>>> I'm on Ubuntu 7.10.
>>>    
>>>      
>> Audacity (latest CVS) builds --without-libid3tag for me and works OK.
>> Configuring with local libid3tag also compiles correctly. It looks to me
>> like you are compiling with a libtool not correctly configured for your
>> system. This is odd because lib-src/libid3tag/libtool should be
>> generated by lib-src/libid3tag/configure when you configure audacity.
>>
>> The problem seems to be that the audacity configure script only
>> reconfigures libraries in lib-src if they don't have Makefiles present,
>> so that, you having compiled using local libid3tag before, don't get it
>> reconfigured when you reconfigure audacity.
>>
>> I've now updated configure to fix this, so if you re-run configure it
>> should regenerate libtool so that it works.
>>
>> The other issue is that libtool is generated by configure, so we
>> shouldn't be distributing it at all. I've therefore deleted from CVS, so
>> you should find it is removed when you updated, then re-appears (in
>> working state) when you run configure.
>>
>> Richard
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> audacity-devel mailing list
>> audacity-devel@...
>> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.138 / Virus Database: 270.5.2/1561 - Release Date: 7/18/2008 6:35 PM
>>
>>
>>
>>  
>>    
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> audacity-devel mailing list
> audacity-devel@...
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
audacity-devel mailing list
audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel