Re: wip/kegs

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Thu, Nov 05, 2009 at 11:11:07AM -0600, Larson, Timothy E. wrote:
> I've made the change suggested by Aleksey, and would like to have this package reviewed and imported.  I'm pretty confident the package will work on those systems that the author has claimed support for (tested on Solaris Sparc), and hopefully should work on a number of others that I've supplied reasonable guesses for (tested on NetBSD i386).  At this point I'd like to get it imported so that more people can see it and supply feedback.

The rpath problem is still there.
With PKG_DEVELOPER=yes, installation fails with:
=> Checking for missing run-time search paths in kegs-0.91
ERROR: bin/xkegs: missing library: libXext.so.7

Looking further back into the build log, I see:
cc -O2 -I/usr/X11R7/include  adb.o clock.o config.o dis.o engine_c.o scc.o iwm.o joystick_driver.o moremem.o paddles.o sim65816.o smartport.o sound.o sound_driver.o video.o scc_socket_driver.o scc_windriver.o scc_macdriver.o xdriver.o compile_time.o  -o xkegs -L/usr/X11R7/lib -lXext -lX11

There's a "-Wl,-R/usr/X11R7/lib" missing here.

You should pass something like "${COMPILER_RPATH_FLAG}${X11BASE}/lib"
to the compiler command line.

Cheers,
 Thomas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.