Обсуждение: Compiling error... plz hlp
I get the followig error although TK is installed ---------start-------- make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgaccess' make[2]: Entering directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgtclsh' gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -Wmissi ng-declarations -I/usr/X11R6/include -I../../interfaces/libpgtcl -DHAVE_UNIS TD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SY S_TIME=1 -DHAVE_PW_GECOS=1 -o pgtksh pgtkAppInit.o \ -L../../interfaces/libpgtcl -lpgtcl -L../../interfaces/libpq -lpq -L/usr/X 11R6/lib -L/usr/local/lib -ltk8.3 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm \ -L/usr/local/lib -ltcl8.3 -lX11 -lcrypt -lnsl -ldl -lm -lutil -lreadline -lncurses -export-dynamic pgtkAppInit.o: In function `main': pgtkAppInit.o(.text+0x11): undefined reference to `Tk_Main' collect2: ld returned 1 exit status make[2]: *** [pgtksh] Error 1 make[2]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin/pgtclsh' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/hdb/src/postgresql-7.0.3/src/bin' make: *** [all] Error 2 --------end----------- thx for any help cm
Servus Christian! At 22:07 2001-03-12 +0100, Christian Marschalek wrote: >I get the followig error although TK is installed Are you sure, yout TK-includes, libs are available to the compiler? Ever tried to compile a simple Tk program yourself? (I'venever written Tk, so I cannot give you a "Hello World" program :( ) Or let me put it another way: Do you have Tk-development installed? (include files?) Stefan -- A much wittier reply came to mind immediately after I clicked the 'Send' button.
I've donwloaded the sources to tcl 8 and tk 8... should be enough, since tcl/tk is something for development ;o)? Well I'll check the homepage for something else that is needed... thanks anyway! > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Stefan Huber > Sent: Monday, March 12, 2001 10:53 PM > To: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Compiling error... plz hlp > > > Servus Christian! > > At 22:07 2001-03-12 +0100, Christian Marschalek wrote: > >I get the followig error although TK is installed > > Are you sure, yout TK-includes, libs are available to the > compiler? Ever tried to compile a simple Tk program yourself? > (I've never written Tk, so I cannot give you a "Hello World" program :( ) > > Or let me put it another way: Do you have Tk-development > installed? (include files?) > > Stefan > -- > A much wittier reply came to mind immediately > after I clicked the 'Send' button. > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://www.postgresql.org/search.mpl