By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,903 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,903 IT Pros & Developers. It's quick & easy.

tsearch2 installation

P: n/a
Well,
now I tried to compile with tsearch2.

I do in src direcotry:
../configure

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 ma*******@postgresql.org)

Nov 12 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a


ko**@chalu.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 ma*******@postgresql.org)


--
Teodor Sigaev E-mail: te****@sigaev.ru
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #2

P: n/a
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 <te****@sigaev.ru>:


ko**@chalu.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 ma*******@postgresql.org)


--
Teodor Sigaev E-mail: te****@sigaev.ru
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #3

P: n/a
ko**@chalu.cz writes:
$ make
make: Fatal error in reader: ../../src/Makefile.global, line 23: Illegal
dependencies for target `.SILENT'


I think you need to use gmake (GNU make) not your vendor's make.

There is a hack in the top-level makefiles so that invoking plain make
will work at the top level, but if you make in a lower-level directory
like tsearch2, you must actually invoke gmake.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #4

P: n/a
OK, thank you.
I was create symbolic link gmake to make and it works.

Jiri
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.