[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kdemultimedia configure search ignores --with-extra-... ?
From:       fenix <fenix () club-internet ! fr>
Date:       2002-05-30 19:30:15
[Download RAW message or body]

Le jeu 30/05/2002 à 14:28, Pavel Troller a écrit :
> Hi!
> > > ...
> > > if test "x$with_cdparanoia" = "xCHECK" ; then
> > > with_cdparanoia=NOTFOUND
> > > search_incs="$kde_includes /usr/include /usr/local/include /usr/include/cdda \
> > >                 /usr/local/include/cdda"
> > > ...
> > 
> > try with in configure.in
> > search_incs="$kde_includes $kde_extra_includes /usr/include /usr/local/include /usr/include/cdda \
> > /usr/local/include/cdda"
> It partly helped. Some checks now passed but some not.
> For example (excerpt from config.log)
> 
> configure:22896: checking for cdparanoia libraries and headers
> ...
> configure:22988: result: incs=/opt/sound/include libs=/opt/sound/lib
> configure:23015: checking for ogg/vorbis headers
> configure:23034: gcc -c -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes \
> -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  -O2 -march=i586 -mcpu=i586 -fomit-frame-pointer \
> -fforce-mem -fforce-addr  -DQT_THREAD_SUPPORT  -D_REENTRANT conftest.c >&5 configure:23021:42: \
> vorbis/codec.h: No such file or directory configure:23022:47: vorbis/vorbisfile.h: No such file or \
> directory configure:23037: $? = 1
> configure: failed program was:
> ...
> 
> You can see that the cdparanoia was found now, but the ogg/vorbis test compile
> had to fail because there is no -I option at all given to the compiler.
> 
> > 
> > and whith "$kde_extra_libs" for the lib finding code
> > 
> > But I'm not sure for the include ordering
> > 
> > I have seen many others configure.in have the same problem ... anyone
> > for review ...
> > 
> And one more thing: I think that configure.in is also generated during
> make -f Makefile.cvs so any personalisations will be lost. I think it should
> be modified somewhere much deeper in the auto* magic...

yes, you are right, the configure.in file are generated by the
configure.in.in files (try 'find kdemultimedia -name configure.in.in'
for file list)

Ogg vorbis check is in kdemultimedia/configure.in.in and but use $USER_*
defines who use the extra_* specified paths 

for "cdparanoia" error it's in
kdemultimedia/kioslave/audiocd/configure.in.in (add the missing
$kde_extra_includes) 

and try to correct the AC_PATH_CDPARANOIA macro definition in
kdemultimedia/kreatecd/configure.in.in (KDE_FIND_PATH must contain all
possible paths for binaries)


> With regards, Pavel Troller
 
 happy coding,

  FeniX



> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic