Re: LIB_DEPENDS problem

2006-05-25 Thread db

Kris Kennaway wrote:
#LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
collection)

LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx



Grrr..this is your fault since that's not the library name installed
by that port.
  

What?

work# more /usr/ports/databases/postgresql-libpqxx/pkg-plist | grep 
libpqxx.so

lib/libpqxx.so

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-25 Thread Kris Kennaway
On Thu, May 25, 2006 at 07:39:49AM +, db wrote:
 Kris Kennaway wrote:
 #LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
 collection)
 LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
pqxx:${PORTSDIR}/databases/postgresql-libpqxx
 
 
 Grrr..this is your fault since that's not the library name installed
 by that port.
   
 What?
 
 work# more /usr/ports/databases/postgresql-libpqxx/pkg-plist | grep 
 libpqxx.so
 lib/libpqxx.so

That's the symlink; your grep is making the same incorrect assumptions
about what to look for:

lib/libpqxx.a
lib/libpqxx.la
lib/libpqxx.so
lib/libpqxx-%%PORTVERSION%%.so

Kris


pgpii3SRRLEvk.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

libpqxx.so is not a broken link:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#

Sorry for not quoting you this time, but your reply was download via 
pop3 at work and now I'm home and the archive is not updated.


br
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 03:00:10PM +, db wrote:
 libpqxx.so is not a broken link:
 
 work# ls -l /usr/local/lib/*pqxx*
 -rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
 /usr/local/lib/libpqxx-2.5.5.so
 -rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
 -rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
 lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
 - libpqxx-2.5.5.so
 work# ldconfig -r | grep pqxx
 work#

I don't know why it might not be known to ldconfig, but that is the
cause of your problem.  The port DTRT to update ldconfig at install
time:

INSTALLS_SHLIB= yes

Try rerunning ldconfig -R (or reboot).

Kris


pgpKrzF8OgpLf.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#


Try rerunning ldconfig -R (or reboot).
  

I tried (both), but no luck :-(

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 08:56:44PM +, db wrote:
 Kris Kennaway wrote:
 work# ls -l /usr/local/lib/*pqxx*
 -rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
 /usr/local/lib/libpqxx-2.5.5.so
 -rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
 -rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
 lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
 - libpqxx-2.5.5.so
 work# ldconfig -r | grep pqxx
 work#
 
 Try rerunning ldconfig -R (or reboot).
   
 I tried (both), but no luck :-(

Reinstall the port then, something seems to be wrong with it (corrupt
library?).

Kris


pgpjvEMNomiKV.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#
   


Try rerunning ldconfig -R (or reboot).
 
  

I tried (both), but no luck :-(



Reinstall the port then, something seems to be wrong with it (corrupt
library?).
  

Ok tried that and still no luck :-(

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 09:11:58PM +, db wrote:
 Kris Kennaway wrote:
 work# ls -l /usr/local/lib/*pqxx*
 -rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
 /usr/local/lib/libpqxx-2.5.5.so
 -rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
 -rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
 lrwxr-xr-x  1 root  wheel  16 May  4 14:56 
 /usr/local/lib/libpqxx.so - libpqxx-2.5.5.so
 work# ldconfig -r | grep pqxx
 work#

 
 Try rerunning ldconfig -R (or reboot).
  
   
 I tried (both), but no luck :-(
 
 
 Reinstall the port then, something seems to be wrong with it (corrupt
 library?).
   
 Ok tried that and still no luck :-(

What port are you having problems with again?

Kris


pgpHt0REyn1Zu.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

What port are you having problems with again?
  

It's not in the port collection yet:

PORTNAME=   esad
PORTVERSION=0.1
CATEGORIES= net
MASTER_SITES=   http://esad.trunet.dk/  #no you can't download anything 
until it is ready


MAINTAINER= [EMAIL PROTECTED]
COMMENT=Multi-service framework

INSTALLS_SHLIB= yes

#LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
collection)

LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx

WRKSRC= ${WRKDIR}/esad

do-install:
   ${INSTALL_DATA} ${WRKSRC}/plugins/relay/relay.so 
${PREFIX}/lib/esad/relay.so
   ${INSTALL_DATA} ${WRKSRC}/plugins/maildir/maildir.so 
${PREFIX}/lib/esad/maildir.so

   ${INSTALL_PROGRAM} ${WRKSRC}/src/esad ${PREFIX}/bin/esad

.include bsd.port.mk


Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread Kris Kennaway
On Wed, May 24, 2006 at 09:46:18PM +, db wrote:
 Kris Kennaway wrote:
 What port are you having problems with again?
   
 It's not in the port collection yet:
 
 PORTNAME=   esad
 PORTVERSION=0.1
 CATEGORIES= net
 MASTER_SITES=   http://esad.trunet.dk/  #no you can't download anything 
 until it is ready
 
 MAINTAINER= [EMAIL PROTECTED]
 COMMENT=Multi-service framework
 
 INSTALLS_SHLIB= yes
 
 #LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
 collection)
 LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
pqxx:${PORTSDIR}/databases/postgresql-libpqxx

Grrr..this is your fault since that's not the library name installed
by that port.

Kris


pgpKKqy9p2Bt7.pgp
Description: PGP signature


Re: LIB_DEPENDS problem

2006-05-23 Thread db

Notice that it didn't build this port, but skipped straight to
installing it.  This means that you have a stale build of the port,
and need to run 'make clean' before and/or after your builds as a
matter of habit.


work# ls /usr/ports/databases/postgresql-libpqxx
Makefiledistinfofiles   pkg-descr   pkg-plist
work# make -DNO_CHECKSUM
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for esad-0.1
===  Patching for esad-0.1
===   esad-0.1 depends on shared library: ACE_SSL - found
===   esad-0.1 depends on shared library: pqxx - not found
===Verifying install for pqxx in 
/usr/ports/databases/postgresql-libpqxx

===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for postgresql-libpqxx-2.5.5
===  Patching for postgresql-libpqxx-2.5.5
===  Applying FreeBSD patches for postgresql-libpqxx-2.5.5
===   postgresql-libpqxx-2.5.5 depends on executable: gmake - found
===   postgresql-libpqxx-2.5.5 depends on shared library: pq.3 - found
===  Configuring for postgresql-libpqxx-2.5.5
^C

libpqxx is installed, but it can't find it and try to build and install 
it again.


Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-23 Thread Kris Kennaway
On Tue, May 23, 2006 at 02:37:12PM +, db wrote:
 Notice that it didn't build this port, but skipped straight to
 installing it.  This means that you have a stale build of the port,
 and need to run 'make clean' before and/or after your builds as a
 matter of habit.
 
 work# ls /usr/ports/databases/postgresql-libpqxx
 Makefiledistinfofiles   pkg-descr   pkg-plist
 work# make -DNO_CHECKSUM
 ===  WARNING: Vulnerability database out of date, checking anyway
 ===  Extracting for esad-0.1
 ===  Patching for esad-0.1
 ===   esad-0.1 depends on shared library: ACE_SSL - found
 ===   esad-0.1 depends on shared library: pqxx - not found
 ===Verifying install for pqxx in 
 /usr/ports/databases/postgresql-libpqxx
 ===  WARNING: Vulnerability database out of date, checking anyway
 ===  Extracting for postgresql-libpqxx-2.5.5
 ===  Patching for postgresql-libpqxx-2.5.5
 ===  Applying FreeBSD patches for postgresql-libpqxx-2.5.5
 ===   postgresql-libpqxx-2.5.5 depends on executable: gmake - found
 ===   postgresql-libpqxx-2.5.5 depends on shared library: pq.3 - found
 ===  Configuring for postgresql-libpqxx-2.5.5
 ^C
 
 libpqxx is installed, but it can't find it and try to build and install 
 it again.

Why do you say it is installed?  You certainly didn't show this above;
that is the port skeleton used for building the software, not an
installed copy of the software.

Kris


pgp9t7Ex79Bbw.pgp
Description: PGP signature


LIB_DEPENDS problem

2006-05-22 Thread db

Hi all

I'm trying to make a new port that depends on ACE and pqxx, but it can't 
find lib pqxx even though it is installed.


work# make -DNO_CHECKSUM
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for esad-0.1
===  Patching for esad-0.1
===   esad-0.1 depends on shared library: ACE_SSL - found
===   esad-0.1 depends on shared library: pqxx - not found
===Verifying install for pqxx in 
/usr/ports/databases/postgresql-libpqxx

===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for postgresql-libpqxx-2.5.5
^C
work# pkg_info | grep postgresql-libpqxx
postgresql-libpqxx-2.5.5 A new C++ interface for PostgreSQL
work# ls /usr/local/lib/libpqxx*
/usr/local/lib/libpqxx-2.5.5.so /usr/local/lib/libpqxx.la
/usr/local/lib/libpqxx.a/usr/local/lib/libpqxx.so
work# ldconfig -r | grep pqxx
work#

From the Makefile:
LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx

System: FreeBSD 6.0-SECURITY on a ia32.

Anyone?

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-22 Thread Kris Kennaway
On Mon, May 22, 2006 at 02:57:28PM +, db wrote:
 Hi all
 
 I'm trying to make a new port that depends on ACE and pqxx, but it can't 
 find lib pqxx even though it is installed.
 
 work# make -DNO_CHECKSUM
 ===  WARNING: Vulnerability database out of date, checking anyway
 ===  Extracting for esad-0.1
 ===  Patching for esad-0.1
 ===   esad-0.1 depends on shared library: ACE_SSL - found
 ===   esad-0.1 depends on shared library: pqxx - not found
 ===Verifying install for pqxx in 
 /usr/ports/databases/postgresql-libpqxx

Notice that it didn't build this port, but skipped straight to
installing it.  This means that you have a stale build of the port,
and need to run 'make clean' before and/or after your builds as a
matter of habit.

Kris


pgplbEOVywjuP.pgp
Description: PGP signature