Compiling dynamic lib from SMPEG

Hello !

I am using the latest Mac OSX Tiger with all Updates
and the latest Dev. Tools. SDL and the other libs
compile without problems stat. and dynamically.

Only SMPEG makes problems to compile it dyn.
Even when compiling it with ./configure --enable-shared=yes
it shows
building dyn. no
building static yes

I also tried to copy the files from /usr/share/libtool/*
to the smpeg directory, but configure shows the same.

This problem exists with SMPEG 0.4.4 and with the latest SMPEG
CVS version. Is there a solution ? It would be cool, if somebody
who knows Autoconf,… could fix this.

CU

Torsten Giebl wrote:

Hello !

I am using the latest Mac OSX Tiger with all Updates
and the latest Dev. Tools. SDL and the other libs
compile without problems stat. and dynamically.

Only SMPEG makes problems to compile it dyn.
Even when compiling it with ./configure --enable-shared=yes

Try with --enable-shared=yes --enable-static=yes
Not sure about SMPEG but it has worked for me on other libraries.> it shows

building dyn. no
building static yes

I also tried to copy the files from /usr/share/libtool/*
to the smpeg directory, but configure shows the same.

This problem exists with SMPEG 0.4.4 and with the latest SMPEG
CVS version. Is there a solution ? It would be cool, if somebody
who knows Autoconf,… could fix this.

CU

Hello !

Try with --enable-shared=yes --enable-static=yes
Not sure about SMPEG but it has worked for me on other libraries.

I tried that, it does not work. The problem
i think is that Autoconf has to detect if building
shared libs on the system is possible or not. This
detection now says no, but building shared libs
under OSX is possible.

The build system of SDL and all the other libs is up
to date, but not that from SMPEG.

CU

Hello !

Try with --enable-shared=yes --enable-static=yes
Not sure about SMPEG but it has worked for me on other libraries.

Ah. The way to get SMPEG compiled with shared and static
is to use ltconfig and ltmain.sh from the FINK project :

http://www.syntheticsw.com/~wizard/Mac/tmp/

CU