* problem compiling patched guile-pg against guile-1.6.0
@ 2002-10-24 15:51 Stanislas Pinte
2002-10-24 15:56 ` Bill Gribble
2002-10-24 16:00 ` David Pirotte
0 siblings, 2 replies; 6+ messages in thread
From: Stanislas Pinte @ 2002-10-24 15:51 UTC (permalink / raw)
hello,
I have the following problem, when trying to compile guile-pg-0.07,
patched with guile-pg-0.07-0.07ttn4.diff...
I get this:
ranlib .libs/libpostgres.a
creating libpostgres.la
(cd .libs && rm -f libpostgres.la && ln -s ../libpostgres.la libpostgres.la)
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
-I/usr/local/pgsql//include -g -O2 -Wall -Wmissing-prototypes -c
guile-pg.c
/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -o
guile-pg -L/usr/local/lib -lguile -lqthreads -lpthread -lcrypt -lm
-L/usr/local/pgsql//lib -lpq -static guile-pg.o libpostgres.la -lpq -lcrypt
gcc -g -O2 -Wall -Wmissing-prototypes -o guile-pg -L/usr/local/lib
-lguile -lqthreads -lpthread -lcrypt -lm -L/usr/local/pgsql//lib -lpq
guile-pg.o .libs/libpostgres.a -lpq -lpq -lcrypt -lpq -lcrypt
.libs/libpostgres.a(libpostgres_lo.o): In function `lob_flush':
/usr/alto/staff/stan/src/guile/guile-pg-0.07ttn4/libpostgres_lo.c:321:
undefined reference to `terminating'
collect2: ld returned 1 exit status
make[2]: *** [guile-pg] Error 1
make[2]: Leaving directory `/usr/local/src/guile/guile-pg-0.07ttn4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.07ttn4'
make: *** [all-recursive-am] Error 2
any clue why?
Is this patch only working against guile-cvs?
thanks a lot,
Stan.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem compiling patched guile-pg against guile-1.6.0
2002-10-24 15:51 problem compiling patched guile-pg against guile-1.6.0 Stanislas Pinte
@ 2002-10-24 15:56 ` Bill Gribble
2002-10-24 16:49 ` Dale P. Smith
2002-10-24 16:00 ` David Pirotte
1 sibling, 1 reply; 6+ messages in thread
From: Bill Gribble @ 2002-10-24 15:56 UTC (permalink / raw)
Cc: Stanislas Pinte
On Thu, 2002-10-24 at 10:51, Stanislas Pinte wrote:
> I have the following problem, when trying to compile guile-pg-0.07,
> patched with guile-pg-0.07-0.07ttn4.diff...
Just FYI - the GPL license of guile-pg was incompatible with my
application's licensing, so Dave Peticolas reimplemented it. The
replacement is called "pg-guile" and we will release it under a
BSD-style license if anyone is interested.
As a side benefit, it has explicit support for closing postgres
connections so you don't have to wait for the garbage collector.
Otherwise it's a drop-in replacement for guile-pg.
b.g.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem compiling patched guile-pg against guile-1.6.0
2002-10-24 15:51 problem compiling patched guile-pg against guile-1.6.0 Stanislas Pinte
2002-10-24 15:56 ` Bill Gribble
@ 2002-10-24 16:00 ` David Pirotte
1 sibling, 0 replies; 6+ messages in thread
From: David Pirotte @ 2002-10-24 16:00 UTC (permalink / raw)
Cc: guile-user
did you do this:
./configure --with-libpq=/usr/local/pgsql
david
Stanislas Pinte wrote:
> hello,
>
> I have the following problem, when trying to compile guile-pg-0.07,
> patched with guile-pg-0.07-0.07ttn4.diff...
>
> I get this:
>
> ranlib .libs/libpostgres.a
> creating libpostgres.la
> (cd .libs && rm -f libpostgres.la && ln -s ../libpostgres.la
> libpostgres.la)
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
> -I/usr/local/pgsql//include -g -O2 -Wall -Wmissing-prototypes -c
> guile-pg.c
> /bin/sh ./libtool --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -o
> guile-pg -L/usr/local/lib -lguile -lqthreads -lpthread -lcrypt -lm
> -L/usr/local/pgsql//lib -lpq -static guile-pg.o libpostgres.la -lpq -lcrypt
> gcc -g -O2 -Wall -Wmissing-prototypes -o guile-pg -L/usr/local/lib
> -lguile -lqthreads -lpthread -lcrypt -lm -L/usr/local/pgsql//lib -lpq
> guile-pg.o .libs/libpostgres.a -lpq -lpq -lcrypt -lpq -lcrypt
> .libs/libpostgres.a(libpostgres_lo.o): In function `lob_flush':
> /usr/alto/staff/stan/src/guile/guile-pg-0.07ttn4/libpostgres_lo.c:321:
> undefined reference to `terminating'
> collect2: ld returned 1 exit status
> make[2]: *** [guile-pg] Error 1
> make[2]: Leaving directory `/usr/local/src/guile/guile-pg-0.07ttn4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.07ttn4'
> make: *** [all-recursive-am] Error 2
>
>
> any clue why?
>
> Is this patch only working against guile-cvs?
>
> thanks a lot,
>
> Stan.
>
>
>
>
> _______________________________________________
> Guile-user mailing list
> Guile-user@gnu.org
> http://mail.gnu.org/mailman/listinfo/guile-user
>
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: problem compiling patched guile-pg against guile-1.6.0
@ 2002-10-24 16:09 Stanislas Pinte
0 siblings, 0 replies; 6+ messages in thread
From: Stanislas Pinte @ 2002-10-24 16:09 UTC (permalink / raw)
hello,
I solved the problem by commenting out line 285 and 321-332 of file
libpostgres_lo.c
--> I suppose it has got an impact on large objects handling, but "make
check" seems to pass all tests...
Any suggested action, or explanation for that?
thanks a lot,
Stan.
-------- Original Message --------
Subject: problem compiling patched guile-pg against guile-1.6.0
Date: Thu, 24 Oct 2002 17:51:09 +0200
From: Stanislas Pinte <alto_stan@wanadoo.be>
To: guile-user@gnu.org
hello,
I have the following problem, when trying to compile guile-pg-0.07,
patched with guile-pg-0.07-0.07ttn4.diff...
I get this:
ranlib .libs/libpostgres.a
creating libpostgres.la
(cd .libs && rm -f libpostgres.la && ln -s ../libpostgres.la libpostgres.la)
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
-I/usr/local/pgsql//include -g -O2 -Wall -Wmissing-prototypes -c
guile-pg.c
/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -o
guile-pg -L/usr/local/lib -lguile -lqthreads -lpthread -lcrypt -lm
-L/usr/local/pgsql//lib -lpq -static guile-pg.o libpostgres.la -lpq -lcrypt
gcc -g -O2 -Wall -Wmissing-prototypes -o guile-pg -L/usr/local/lib
-lguile -lqthreads -lpthread -lcrypt -lm -L/usr/local/pgsql//lib -lpq
guile-pg.o .libs/libpostgres.a -lpq -lpq -lcrypt -lpq -lcrypt
.libs/libpostgres.a(libpostgres_lo.o): In function `lob_flush':
/usr/alto/staff/stan/src/guile/guile-pg-0.07ttn4/libpostgres_lo.c:321:
undefined reference to `terminating'
collect2: ld returned 1 exit status
make[2]: *** [guile-pg] Error 1
make[2]: Leaving directory `/usr/local/src/guile/guile-pg-0.07ttn4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.07ttn4'
make: *** [all-recursive-am] Error 2
any clue why?
Is this patch only working against guile-cvs?
thanks a lot,
Stan.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <5.1.1.6.0.20021025130513.00a8a590@pop.wanadoo.be>]
end of thread, other threads:[~2002-10-25 11:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-24 15:51 problem compiling patched guile-pg against guile-1.6.0 Stanislas Pinte
2002-10-24 15:56 ` Bill Gribble
2002-10-24 16:49 ` Dale P. Smith
2002-10-24 16:00 ` David Pirotte
-- strict thread matches above, loose matches on Subject: below --
2002-10-24 16:09 Stanislas Pinte
[not found] <5.1.1.6.0.20021025130513.00a8a590@pop.wanadoo.be>
2002-10-25 11:16 ` Bill Gribble
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).