Re: tsearch2 installation

From: konf(at)chalu(dot)cz
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tsearch2 installation
Date: 2003-11-20 17:40:18
Message-ID: 1069350018.3fbcfc8242cd8@webmail.move.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

when I do
./configure --prefix=/opt/pgsql_7.4 --with-perl --with-java --without-readline
--with-openssl --enable-nls='cs'

make

I got:

make[5]: Leaving directory
`/data/usersdata/smartm/srcs/pg_source/postgresql-7.4/src/port'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
command.o common.o help.o input.o stringutils.o mainloop.o copy.o startup.o
prompt.o variables.o large_obj.o print.o describe.o tab-complete.o mbprint.o
-L../../../src/interfaces/libpq -lpq -L../../../src/port -L/usr/local/ssl/lib
-R/opt/pgsql_7.4/lib -lssl -lcrypto -lz -lrt -lresolv -lgen -lsocket -lnsl -ldl
-lm -lpgport -o psql
Undefined first referenced
symbol in file
PQgetssl startup.o
ld: fatal: Symbol referencing errors. No output written to psql
collect2: ld returned 1 exit status
make[4]: *** [psql] Error 1
make[4]: Leaving directory
`/data/usersdata/smartm/srcs/pg_source/postgresql-7.4/src/bin/psql'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/data/usersdata/smartm/srcs/pg_source/postgresql-7.4/src/bin'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/data/usersdata/smartm/srcs/pg_source/postgresql-7.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/usersdata/smartm/srcs/pg_source/postgresql-7.4'
*** Error code 2
make: Fatal error: Command failed for target `all'

What is wrong?

Cituji z emailu od Teodor Sigaev <teodor(at)sigaev(dot)ru>:

>
>
> konf(at)chalu(dot)cz wrote:
> > Well,
> > now I tried to compile with tsearch2.
> >
> > I do in src direcotry:
> > ./configure
> do make
>
>
> >
> > then change into contrib/tsearch2 and do
> > make (as I read in manual)
> >
> > and I got:
> > $ make
> > make: Fatal error in reader: ../../src/Makefile.global, line 23: Illegal
> > dependencies for target `.SILENT'
> >
> > Where is my mistake? what is the correct way to compile tsearch2? When I
> try to
> > make tsearch2 before ./configure of main source, it causes error, becouse
> > Makefile.global does not exist yet
> >
> > Thanks for help,
> > Jiri
> >
> >
> >
> >
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> > (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
> --
> Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-11-20 17:45:51 Re: SELECT Question
Previous Message Seum-Lim Gan 2003-11-20 17:37:03 Re: pg_hba.conf change in 7.4