Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 05:37:59 -0700
From:      "Greg J." <xcas@cox.net>
To:        Palle Girgensohn <girgen@pingpong.net>
Cc:        amd64@freebsd.org
Subject:   Re: please try this patch for: postgresql-libpq++-4.0_1 broken on amd64
Message-ID:  <20040201053759.7dbed7b2.xcas@cox.net>
In-Reply-To: <125210000.1075570485@palle.girgensohn.se>
References:  <125210000.1075570485@palle.girgensohn.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Jan 2004 18:34:45 +0100
Palle Girgensohn <girgen@pingpong.net> wrote:

> Hi,
> 
> Can someone on amd64 try this patch by putting it in 
> ports/databases/postgresql-libpq++/files and try building the port?
> 
> It's supposed to fix this problem:
> <http://bento.freebsd.org/errorlogs/amd64-5-latest/postgresql-libpq++
> -4.0_1.log>
> 
> Thanks,
> Palle
> 
Didn't work.

localhost# make
===>  Extracting for postgresql-libpq++-4.0_1
>> Checksum OK for postgresql/libpq++-4.0.tar.gz.
===>  Patching for postgresql-libpq++-4.0_1
===>  Applying FreeBSD patches for postgresql-libpq++-4.0_1
/usr/bin/sed -i.bak "s,/usr/local/pgsql,/usr/local,; 
s,^CFLAGS.*,CFLAGS=-O -pipe ,;  s,\...SO_MINOR_VERSION.,,; 
s,\(\-[IL]\)[^/]*,\\1/usr/local,"
/usr/ports/databases/postgresql-libpq++/work/libpq++-4.0/Makefile
===>   postgresql-libpq++-4.0_1 depends on executable: gmake - found
===>   postgresql-libpq++-4.0_1 depends on shared library: pq.3 - found
===>  Configuring for postgresql-libpq++-4.0_1
===>  Building for postgresql-libpq++-4.0_1
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgconnection.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgdatabase.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgtransdb.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pgcursordb.cc
g++ -c -O -pipe -DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER
-DDLLIMPORT="" -I/usr/local/include pglobject.cc
g++ -O -pipe pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o
pglobject.o -L/usr/local/lib -lpq -fpic -fPIC -shared
-Wl,-x,-soname,libpq++.so.4 -Wl,-rpath,/usr/local/lib -o libpq++.so.4
/usr/bin/ld: pgconnection.o: relocation R_X86_64_32S can not be used
when making a shared object; recompile with -fPIC
pgconnection.o: could not read symbols: Bad value
gmake: *** [libpq++.so.4] Error 1
*** Error code 2

Stop in /usr/ports/databases/postgresql-libpq++.
localhost# 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040201053759.7dbed7b2.xcas>