[PD] linux newbie compiling

Frank Barknecht fbar at footils.org
Sat Mar 22 11:36:47 CET 2003


Hallo,
Andre Schmidt hat gesagt: // Andre Schmidt wrote:

> hmm,
> 
> > configure creates a new makefile from makefile.in(-put!)
> thnx, does that -put mean something ?

No, it was just to explain, that the "in" in "makefile.in" is
shorthand for "input".

> here we go again:
> 
> (using "su" as user)
> used "make clean"
> deleted the "-werror" from makefile.in
> "./configure --enable-alsa"
> "make depend"
> "make install"
> 
> and now i get this
> ---------------------
> s_linux.o: In function `alsa_open_audio':
> s_linux.o(.text+0x3634): Warning: start_mode is deprecated, consider to use 
> start_threshold
> s_linux.o(.text+0x3652): Warning: xrun_mode is deprecated, consider to use 
> stop_threshold
> t_tkcmd.c: In function `pdgui_startup':
> t_tkcmd.c:349: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible 
> pointer type
> /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: 
> cannot find -ltk8.3
> collect2: ld returned 1 exit status
> make: *** [../bin/pd-gui] Error 1
> ----------------------
> 
> i'm also a little confused...
> 
> ./configure says
> ------------------------
> checking for main in -ltcl8.7... (cached) no
> checking for main in -ltcl8.6... (cached) no
> checking for main in -ltcl8.5... (cached) no
> checking for main in -ltcl8.4... (cached) no
> checking for main in -ltcl8.3... (cached) yes
> checking for main in -ltk8.7... (cached) no
> checking for main in -ltk8.6... (cached) no
> checking for main in -ltk8.5... (cached) no
> checking for main in -ltk8.4... (cached) no
> checking for main in -ltk8.3... (cached) yes
> ------------------------
> so i assume it "finds" tcl/tk8.3 libs, but
> my yast2 says i got 8.4

Please try to remove config.cache in the src directory. It looks as if
configure is reading wrong data from its cache. If you delete
config.cache, the "(cached)" while running configure should go away
and configure should find the real tk, that you have installed.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list