Menu

#14 FreeBSD install attempt

open
nobody
None
5
2006-05-25
2006-05-25
Anonymous
No

hmmmm, been years since a bug has been registered, but
if you can help i'd appreciat it. Freebsd 5.4-RELEASE

#cc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728

I created XERCESCROOT and XALANCROOT to poing to /usr/local

Checking for "XERCESCROOT" environment variable... found
Checking for Xerces include path as
'/usr/local/include'... found
Checking for Xerces library path as '/usr/local/lib'...
found
Checking for "XALANCROOT" environment variable... found
Checking for Xalan include path as
'/usr/local/include'... found
Checking for Xalan library path as '/usr/local/lib'...
found
"freebsd5" is an untested system type. Attempting to
build with "FREEBSD5"
defined (this probably won't work). Please file a bug
report at
http://sourceforge.net/tracker/?group_id=28142&atid=392469
explaining what system you are attemping to build on
and what
went wrong.
running install
running build
running build_py
running build_ext
building '_Pyana' extension
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x20000 -fPIC -DFREEBSD5
-DXERCES_VERSION="2_5" -DXALAN_VERSION="1_8"
-I/usr/local/include -I/usr/local/include
-I/usr/local/include/python2.4 -c
Src/ExceptionLiason.cpp -o
build/temp.freebsd-5.4-RELEASE-i386-2.4/Src/ExceptionLiason.o
In file included from Src/ExceptionLiason.hpp:8,
from Src/ExceptionLiason.cpp:5:
Src/PyanaDefs.hpp:26:29: warning: no newline at end of file
Src/ExceptionLiason.cpp: In constructor
`PyXalanOutputStreamException::PyXalanOutputStreamException()':
Src/ExceptionLiason.cpp:344: error: no matching
function for call to
`xalanc_1_9::XalanOutputStream::XalanOutputStreamException::XalanOutputStreamException(xalanc_1_9::XalanDOMString,
xalanc_1_9::XalanDOMString)'
/usr/local/include/xalanc/PlatformSupport/XalanOutputStream.hpp:295:
note: candidates are:
xalanc_1_9::XalanOutputStream::XalanOutputStreamException::XalanOutputStreamException(const
xalanc_1_9::XalanOutputStream::XalanOutputStreamException&)
/usr/local/include/xalanc/PlatformSupport/XalanOutputStream.hpp:293:
note:
xalanc_1_9::XalanOutputStream::XalanOutputStreamException::XalanOutputStreamException(const
xalanc_1_9::XalanDOMString&,
xalanc_1_9::MemoryManagerType&)
error: command 'cc' failed with exit status 1

Discussion

  • Jeff Dyke

    Jeff Dyke - 2006-05-25

    Logged In: YES
    user_id=672042

    relized i was not logged in when i created this, but can be
    reached at jdyke at users.sourceforge.net

    Thanks

     
  • Jeff Dyke

    Jeff Dyke - 2006-05-25

    Logged In: YES
    user_id=672042

    So, I just got it to compile by back porting to xalanc_1_8,
    but when i try to

    import Pyana

    i get the error

    ImportError:
    /usr/local/lib/python2.4/site-packages/Pyana/_Pyana.so:
    Undefined symbol "_ZTIN10xalanc_1_922XSLTProcessorExceptionE"

    which is still looking for a 1_9 version it looks like.

     
  • Brian Quinlan

    Brian Quinlan - 2006-05-26

    Logged In: YES
    user_id=108973

    Did you make sure that you removed any build files for Xalan
    1.9 and the distutils build directory? What version of Xalan
    is detected by the setup.py script?

     
  • Jeff Dyke

    Jeff Dyke - 2006-05-26

    Logged In: YES
    user_id=672042

    hmmm. seems that i've got past a portion of it, but
    first... before i downgraded i ran a make deinstall and then
    portdowngrade then make install. I just deleted the entire
    Pyana build and install directory and ran it again and it
    failed to load with:
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "Pyana/__init__.py", line 8, in ?
    from _Pyana import *
    ImportError: No module named _Pyana

    But.... if i add
    /usr/local/lib/python2.4/site-packages/Pyana to sys.path, or
    launch the python interpreter from the Pyana location it
    loads `import Pyana` fine. I'll have to run some tests with
    running actual transforms, but that is step in right direction.

    Any idea on the path?

    btw. Great Module!! I've had no troubles. Been running on
    windows so far. Runs like a champ. I have more comments,
    but a bug report is the wrong place.

     
  • Nobody/Anonymous

    Logged In: NO

    had same problem...need to use xalanc 1_8

     

Log in to post a comment.

MongoDB Logo MongoDB