pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28603: pkgsrc/mail/exim has problems finding libs



>Number:         28603
>Category:       pkg
>Synopsis:       pkgsrc/mail/exim has problems finding libs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 10 22:03:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
mail/exim has some problems finding includes and libs:

cc -c -OPT:Olimit=1500 -I/usr/local/pkg/include/db2 -o exim_dbmbuild.o 
exim_dbmbuild.c
cfe: Error: ./exim.h: 390: Cannot open file iconv.h for #include

local/pkg/etc/exim:'  -e 's:@EXIM_USER@:mail:'  -e 's:@EXIM_GROUP@:mail:'  -e 
's:@EXIM_USE_DB_CONFIG@:USE_DB=yes:'  -e 
's:@EXIM_DBMLIB@:DBMLIB=-Wl,-rpath,/lib32 -L/lib32 :'  -e 
's:@EXIM_INCLUDE@:-I/include/db2:'  -e 's:@CHOWN@:/usr/local/bin/chown:'  -e 
's:@CHGRP@:/sbin/chgrp:'  -e 's:@MV@:/sbin/mv:'  -e 's:@RM@:/sbin/rm:'  -e 
's:@PERL5@:/usr/local/pkg/bin/perl:'  < 
/usr/people/schwarz/pkgsrc/mail/exim/work/exim-4.43/Local/Makefile.pkgsrc  > 
/usr/people/schwarz/pkgsrc/mail/exim/work/exim-4.43/Local/Makefile

Note the /include/lib2!
and after correcting this:

cc -c -OPT:Olimit=1500 -I/usr/local/pkg/include/db2 -o exim_dbmbuild.o 
exim_dbmbuild.c
cc -o exim_dbmbuild  exim_dbmbuild.o  -lmld  -Wl,-rpath,/usr/local/pkg/lib32 
-L/usr/local/pkg/lib32
ld:
Unresolved:
db_open


No idea where this /usr/local/pkg/lib32 comes from. Also a -ldb2 is missing.
>How-To-Repeat:

>Fix:
The first issue can be overcome by adding to Makefile.common
.include "../../converters/libiconv/buildlink3.mk"

The second issue (and maybe the third one as well?) seems to be caused by 
${BDBBASE} being empty (I do not know why).




Home | Main Index | Thread Index | Old Index