472,358 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,358 software developers and data experts.

tsearch2 installation

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
4 2960


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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Nigel J. Andrews | last post by:
This will be a little vague, it was last night and I can't now do the test in that db (see below) so can't give the exact wording. I seem to remember a report a little while ago about tsearch v2...
1
by: psql-mail | last post by:
I have applied the recent tsearch2 patch and recompiled the tsearch2 module but I am still experiencing the same backend crashes as I previously described. Thanks for any help, Mat GDB...
0
by: konf | last post by:
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:
9
by: Pavel Stehule | last post by:
Hello I try tsearch2 within czech environment. It is works fine, but I have two questions. 1. I have words "se", "ve" in my czech stop words. But I get this words in result. Why? Have I...
2
by: Fischer Ulrich | last post by:
Hi I have a problem with the restoring of a database which uses tsearch2. I made a backup as discribed in 'tsearch-v2-intro' on the tsearch2 page. Now i'm trying to restore it into a...
2
by: Chris Gamache | last post by:
Tsearch2 comes with its own tsearch2 trigger function. You pass column names to it, and it puts a vanilla tsvector into the column named in TG_ARGV. Not only can you pass column names to it, but...
0
by: Markus Wollny | last post by:
Hi! Sorry to bother you, but I just don't know how to get tsearch2 configured correctly for my setup. I've got a 7.4.3 database-cluster initdb'ed with de_DE@euro as locale, the database is with...
3
by: Marcel Boscher | last post by:
Hello everybody, i tried to "J.U.S.T" install the FullTextSearchTool tsearch2 under the guidiance of : http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/...
2
by: Net Virtual Mailing Lists | last post by:
Hello, If I have a rule like this: CREATE OR REPLACE RULE sometable_update AS ON UPDATE TO table2 DO UPDATE cache SET updated_dt=NULL WHERE tablename='sometable'; CREATE OR REPLACE RULE...
7
by: Timo Haberkern | last post by:
Hi there, i have some troubles with my TSearch2 Installation. I have done this installation as described in http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_compound_words...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.