Re: libtool not generating / installing .so, even tho config says it should

2011-07-06 Thread Scott Robert Ladd
Thank you ever so much. In past editions, the compiles included the default
CFLAGS followed by the ones I specified.

..Scott

On Wed, Jul 6, 2011 at 2:26 AM, Ralf Corsepius  wrote:

> On 07/06/2011 01:54 AM, ScottLadd wrote:
>
>>
>>
>> I've been writing configure.ac scripts for a long time, and now,
>> unexpectedly, on a new Kubuntu 11.04 installation and on a Fedora 15
>> install, libtool not longer generates and installs shared objects. Same
>> scripts I've used before, different behavior.
>>
>
> I don't know if this had ever worked, but the culprit seems to be this part
> of your configure.ac:
>
> if test "x$gccopt" = "xyes"
> then
>CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -O2 -g0
> -march=native"
> else
>CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -g -O2
> -static"
> fi
>
>
> Besides this, this part overrides CFLAGS with hard-coded compiler- and
> system-specific CFLAGS - Not a good idea.
>
> Ralf
>
> __**_
> https://lists.gnu.org/mailman/**listinfo/libtool
>
___
https://lists.gnu.org/mailman/listinfo/libtool


Re: libtool not generating / installing .so, even tho config says it should

2011-07-05 Thread Ralf Corsepius

On 07/06/2011 01:54 AM, ScottLadd wrote:



I've been writing configure.ac scripts for a long time, and now,
unexpectedly, on a new Kubuntu 11.04 installation and on a Fedora 15
install, libtool not longer generates and installs shared objects. Same
scripts I've used before, different behavior.


I don't know if this had ever worked, but the culprit seems to be this 
part of your configure.ac:


if test "x$gccopt" = "xyes"
then
CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -O2 
-g0 -march=native"

else
CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -g 
-O2 -static"

fi


Besides this, this part overrides CFLAGS with hard-coded compiler- and 
system-specific CFLAGS - Not a good idea.


Ralf

___
https://lists.gnu.org/mailman/listinfo/libtool


libtool not generating / installing .so, even tho config says it should

2011-07-05 Thread ScottLadd


I've been writing configure.ac scripts for a long time, and now,
unexpectedly, on a new Kubuntu 11.04 installation and on a Fedora 15
install, libtool not longer generates and installs shared objects. Same
scripts I've used before, different behavior.


Note: The configure.ac/Makefile.am in question DID install shared objects in
the past.


When I run configure, it states:


checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes


Upon running make install, I see:


test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libbrahe.la
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libbrahe.lai
/usr/local/lib/libbrahe.la
libtool: install: /usr/bin/install -c .libs/libbrahe.a
/usr/local/lib/libbrahe.a
libtool: install: chmod 644 /usr/local/lib/libbrahe.a
libtool: install: ranlib /usr/local/lib/libbrahe.a


I've hunted up and down, to no avail, trying to figure out what's wrong. Did
something change in a recent update to autotools? My versions are:


libtool 2.2.6b
automake 1.11.1
autoconf 2.67


The actual library code can be downloaded from 
http://www.coyotegulch.com/products/brahe/index.html Brahe Library 

-- 
View this message in context: 
http://old.nabble.com/libtool-not-generating---installing-.so%2C-even-tho-config-says-it-should-tp32001082p32001082.html
Sent from the Gnu - Libtool - Discuss mailing list archive at Nabble.com.
___
https://lists.gnu.org/mailman/listinfo/libtool