[PD] linux newbie compiling

Andre Schmidt andre at vju-tv.net
Sat Mar 22 10:53:40 CET 2003


hmm,

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

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

hmm, then i take a look in my FS
/usr/lib/tk8.4 [exist]
/usr/lib/tcl8.4 [exist]

then what i think "configure.in" searches:
/usr/include/tk8.x [doesnt exist]
/usr/include/tcl8.x [doesnt exist]
and "tk.h" is in /usr/include

hmm...

should i get the newest/best tcl/tk sources and compile it ?

thnx
-andre


On Friday 21 March 2003 21:46, Frank Barknecht wrote:
> Hallo,
>
> Andre Schmidt hat gesagt: // Andre Schmidt wrote:
> > couple weeks ago i desided to delete my win2k from my hd and installed
> > suse8.1 installation went smoothly. all of my hardware was detected
> > automaticly and are working perfectly. i had a little trouble installing
> > the official nvidia drivers for my gforce card, but after couple days i
> > got it right (newbie mistakes)...
> > cc -DPD -DUNIX  -Wall -W -Wstrict-prototypes  -Werror -Wno-unused
> > -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
> > -DDL_OPEN -DALSA01 -DINSTALL_PREFIX=\"/usr/local\" -I.  -c -o
> > ../obj/t_tkcmd.o t_tkcmd.c
> > cc1: warnings being treated as errors
> > t_tkcmd.c: In function `pdgui_startup':
> > t_tkcmd.c:349: warning: passing arg 3 of `Tcl_CreateCommand' from
> > incompatible pointer type
> > make: *** [t_tkcmd.o] Error 1
>
> You still try to compile with -Werror, see the error message above.
> You should delete -Werror from makefile.in before doing the configure.
> configure creates a new makefile from makefile.in(-put!)
>
> ciao





More information about the Pd-list mailing list