Bug 60253 - problem with compiling gnokii port (portupgrade)
Summary: problem with compiling gnokii port (portupgrade)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-15 11:50 UTC by Krzysztof Stryjek
Modified: 2003-12-15 19:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Stryjek 2003-12-15 11:50:08 UTC
	When upgading gnokii port from previous version, I've got error from
gmake. Here it is a log:

--->  Upgrading 'gnokii-0.5.0_1,1' to 'gnokii-0.5.6,1' (comms/gnokii)
--->  Building '/usr/ports/comms/gnokii' with make flags: WITH_MYSQL=1 WITH_SMSD=1 ISPELL_PL=yes WITHOUT_CUPS=1
===>  Cleaning for libiconv-1.9.1_3
===>  Cleaning for mysql-client-3.23.58
===>  Cleaning for gettext-0.12.1
===>  Cleaning for glib-1.2.10_10
===>  Cleaning for gmake-3.80_1
===>  Cleaning for imake-4.3.0_2
===>  Cleaning for libtool-1.3.5_1
===>  Cleaning for pkgconfig-0.15.0
===>  Cleaning for freetype2-2.1.5_1
===>  Cleaning for expat-1.95.6_1
===>  Cleaning for fontconfig-2.2.90_3
===>  Cleaning for gtk-1.2.10_10
===>  Cleaning for XFree86-libraries-4.3.0_6
===>  Cleaning for gnokii-0.5.6,1

If you plan using the smsd daemon for automatically receiving,
managing and sending SMSes define WITH_SMSD=yes.
smsd has support for normal file system operations, MySQL and
PostgreSQL. If any of these 2 database systems are installed support
will be automatically compiled in. Normal file systems support is
always compiled in.

===>  Extracting for gnokii-0.5.6,1

Fix: 

Well, I think I know where is problem, but I don't know how to fix
it. I've tried compile port on machine, where gnokii were not installed. And
it was OK. 

I think problem is in this line (copied from above log):

cc  gnokii.o -L/usr/local/lib  -lgnugetopt  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L../common -lgnokii -L/usr/X11R6/lib -lXpm -lX11 /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -o gnokii

As you can see: -L../common is not on first position. And then libgnokii.so
previous installed is taken :-(((

Thanks a lot for correcting this.

Greetings from Poland
--
Krzysztof Stryjek
wtp+gnokii@bsdguru.org
How-To-Repeat: 	cd /usr/ports/comms/gnokii
	make WITH_SMSD=1 WITH_MYSQL=1 all
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-15 19:52:32 UTC
State Changed
From-To: open->closed

I fixed it. Thanks for reporting.