Dear Openpkg People, Without any other response I have been trying to work out where the problem might be.
Comparing to a 'standard' Fedora 8 installation of the same tools I see that the subversion package include a _fs.so file, which is presumably used when viewvc does a 'import _fs'. Looking through the openpkg build scripts I can see that the following files get built: find . -name _fs\* ./subversion/bindings/swig/python/.libs/_fs.a ./subversion/bindings/swig/python/.libs/_fs.lai ./subversion/bindings/swig/python/.libs/_fs.la ./subversion/bindings/swig/python/_fs.la So it would appear that due to openpkg only using static libraries the shared libraries are not built and the "python" executable is not linked to the static libraries either. What do you recommend would be the 'better' way to resolve? Try linking in the static libraries to python (don't know if this is feasible as the libraries are only used at run time, not link time)? Alternatively building subversion and/or python with shared libraries enabled? I will try the latter, but not sure what other complications this will bring in. Jason [EMAIL PROTECTED] wrote: > Dear Openpkg people, > > Trying to get viewvc to work with subversion on a Solaris 10. > > Have successfully built subversion with python binding (and perl too). > > With viewvc configured to use a SVN repository get the following > traceback: > > An Exception Has Occurred > Python Traceback > > Traceback (most recent call last): > File > "/secomon/openpkg-3/RPM/TMP/viewvc-1.0.4-root/secomon/openpkg-3 > /share/vi ewvc/lib/viewvc.py", line 3665, in main > request.run_viewvc() > File > "/secomon/openpkg-3/RPM/TMP/viewvc-1.0.4-root/secomon/openpkg-3 > /share/vi ewvc/lib/viewvc.py", line 253, in run_viewvc > import vclib.svn > File > "/secomon/openpkg-3/share/viewvc/lib/vclib/svn/__init__.py", line 25, > in <module> from svn import fs, repos, core, delta > File "/secomon/openpkg-3/lib/svn-python/svn/fs.py", line 19, in > <module> File "/secomon/openpkg-3/lib/svn-python/libsvn/fs.py", line > 5, in <module> ImportError: No module named _fs > > Some of the paths have temporary build names, not too worried about > this. > > Unable to find where the module _fs is supposed to come from. A find > through our whole openpkg tree does not find it (so not just a 'unable > to find in correct path problem'). > > Looking at the top of > /secomon/openpkg-3/lib/python/libsvn/fs.py we see: > # This file was created automatically by SWIG. > # Don't modify this file, modify the SWIG interface instead. > # This file is compatible with both classic and new-style classes. > > import _fs > > > Now, swig and python are totally outside my sphere of experience so > not really sure where to start. > > On a slightly related note the pre-installed cgi script > (/secomon/openpkg-3/cgi/viewvc.cgi) incorrectly tries to load its > configuration from /secomon/openpkg-3/share/viewvc/viewvc.conf, should > be /secomon/openpkg-3/etc/viewvc/viewvc.conf > > Presume that the path needs updating in the rpm 'subst' section > somewhere. > > Jason > > -- > Jason Wilson > Security Consultant, ICT Security Services > Telephone: +61 7 389 63129 Facsimile: +61 7 389 63740 > Email: mailto:[EMAIL PROTECTED] > http://www.nrw.qld.gov.au > Department of Natural Resources and Water > Corner Main and Vulture Streets, Woolloongabba QLD 4102 > Locked Bag 40, Coorparoo Delivery Centre QLD 4151 > > > *************************************************************** > ********* > The information in this email together with any attachments is > intended only for the person or entity to which it is addressed > and may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution > and/or publication of this email message is prohibited, unless > as a necessary part of Departmental business. > If you have received this message in error, you are asked to > inform the sender as quickly as possible and delete this message > and any copies of this message from your computer and/or your > computer system network. > *************************************************************** > ********* > > ______________________________________________________________________ > OpenPKG http://openpkg.org > User Communication List openpkg-users@openpkg.org ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org