Hi!

Bernhard Moellemann wrote:

> I tried to compile dvbcut on NetBSD. The first try was with the "stable"
> version 0.5.4 using SCons and it failed horribly 8-/

I should say: of course. ;-)

Remind me that I remove the scons bullsh*t eventually...

> Then I discovered the svn-version with automake and tried it. After
> same reckless patching I got it working!
> 
> Great program! Thank you very much!
> 
> What I had to do to get it running on NetBSD 5.0BETA/i386:
> 
> * There was no confugure script. I had to call automake, which is a little
>   bit counter-intuitive.

That's a feature, not a bug. If you're using CVS/svn/git/hg, you never
check in files that can be generated automatically. They're only
included in release tarballs.

All you need to call is autoconf, by the way. We do not use automake.

> * NetBSD has no byteswap.h NETBSD has bswap16, bswap32 and bswap64 in libc.
>   I had to delete the include directive and change the names to bswap16/32.

Shouldn't be too hard to add an #ifdef for that.

> * The linker did not add the required option -Wl,-R/LIBPATH to the final
>   linking line. I cut and pasted the line and added -Wl,-R/usr/pkg/lib
>   -Wl,-R/usr/pkg/qt3/lib to pick up the libraries. I do not know how to add
>   this to the automake framework

Strange directory names you have, young Skywalker...

The Linux way would be to just add the directories to /etc/ld.so.conf.
Adding the -Wl,-R option shouldn't do any harm, however (it works on
Linux and Solaris as well). But I need to figure out the path to add.

I suppose you used configure --with-qt3=/usr/pkg/qt3 or something like
that? Where does the /usr/pkg/lib come from?

> If somebody is interested, I can guard the changes with
> #if defined(__NetBSD__), so they are hopefully not intrusive to Linux.

Not necessary. All I need is your patch, the original version and a
short "diff -D__NetBSD__" :-)

Any idea if the procedure will work on {Free,Open}BSD as well?

-- 
Michael "Tired" Riepe <[email protected]>
X-Tired: Each morning I get up I die a little

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to