I found one problem in owperl, where OW.so didn't load libow.so from
/opt/owfs/lib. I think it's fixed now, but I'm not very good at perl.

Could some perl-guru look in owfs/module/swig/perl5/Makefile.PL.in
and tell me how to make it correct. I have added the flag LDDLFLAGS
to MakeMaker just to link OW.so correct. I think @libdir@ should be
used instead, but I don't know how to expand that variable into
/opt/owfs/lib.

If I use @libdir@ it's just expanded to @exec_prefix@/lib and that
variable should be expanded again into @prefix@/lib and again into
/opt/owfs/lib... but how is this done in perl?

It works now at least, but I think it should be changed a bit.

> objdump -x module/swig/perl5/blib/arch/auto/OW/OW.so | more 
Dynamic Section:
  NEEDED      libow.so.0
  NEEDED      libpthread.so.0
  NEEDED      libusb-0.1.so.4
  NEEDED      libc.so.6
  RPATH       /opt/owfs/lib


/Christian



On Tue, 2005-07-12 at 18:13 +0200, Christian Magnusson wrote:
> I have checked in the changes now... I have tried it a couple of
> times on both Solaris and Linux x86 and I don't think I have broken
> anything at least.
> 
> Please check it and tell me if it doesn't compile for you.
> 
> /Christian
> 
> 
> On Tue, 2005-07-12 at 15:23, Paul Alfille wrote:
> > Nice work.
> > 
> > Wish we could find someone to test a Mac OS X system.
> > 
> > Paul
> > 
> > On Tuesday 12 July 2005 09:18 am, Christian Magnusson wrote:
> > > I succeeded to compile owhttpd and owserver for Solaris 7 now. It seems
> > > to work, but I haven't tried to use any adapter yet... just running
> > > to the serial port which is detected as a bad adapter.
> > >
> > > Have added some compatibility source-files to owlib, and you can have
> > > a look at it and tell me if you have any ideas of changes to make it
> > > cleaner. Will check in all changes as soon as I can here.
> > >
> > > /Christian
> > >
> > > On Tue, 2005-07-12 at 09:57, Christian Magnusson wrote:
> > > > On Mon, 2005-07-11 at 19:24 +0200, Krzysztof wrote:
> > > > > Christian Magnusson wrote:
> > > > > > There were no dependencies to libpthread when compiling libow.so,
> > > > > > so OW.so loaded libow.so and didn't understand to use libpthread.so
> > > > > > too.
> > > > > >
> > > > > > I have updated some of the makefiles and configure.ac to fix the
> > > > > > problem (I hope). I guess this fix only was needed for older libc.
> > > > >
> > > > > YES! Now it works like a charm :-)
> > > > > thank you!
> > > >
> > > > I just tried to compile owhttpd for Solaris 7, and I just wanted to
> > > > tell you that I'm updating configure.ac again to get correct compilation
> > > > flags... especially for pthread. The changes will be somewhat better and
> > > > will work for more platforms in a while.
> > > >
> > > > /Christian
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> > > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the
> > > > latest in dual core and dual graphics technology at this free one hour
> > > > event hosted by HP, AMD, and NVIDIA.  To register visit
> > > > http://www.hp.com/go/dualwebinar
> > > > _______________________________________________
> > > > Owfs-developers mailing list
> > > > Owfs-developers@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> > > happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
> > > in dual core and dual graphics technology at this free one hour event
> > > hosted by HP, AMD, and NVIDIA.  To register visit
> > > http://www.hp.com/go/dualwebinar
> > > _______________________________________________
> > > Owfs-developers mailing list
> > > Owfs-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> > core and dual graphics technology at this free one hour event hosted by HP, 
> > AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> > _______________________________________________
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by HP, 
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
-- 
Christian Magnusson <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to