Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building Xerces-p on Solaris 9

Status
Not open for further replies.

stuartd

Programmer
Joined
Jan 8, 2001
Messages
146
Location
US
Hi,

I am trying to build Xerces-p perl module on Solaris 9.
I have sun studio compiler installed, and gcc. I have sun make and gnu make.

The instructions say :
perl Makefile.PL
make
make test
make install

I run step 1, which creates makefiles
When i run step 2, the compile appears to fail:

# make
make -C Handler static
make[1]: Entering directory `/live/stuart/XML-Xerces-2.5.0-0/Handler'
cc -c -I. -IHandler -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -xO3 -xdepend -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -KPIC -I/usr/perl5/
5.6.1/lib/sun4-solaris-64int/CORE PerlCallbackHandler.cpp
cc: No input file specified, no output generated
make[1]: *** [PerlCallbackHandler.o] Error 1
make[1]: Leaving directory `/live/stuart/XML-Xerces-2.5.0-0/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2

I think I want it to use gcc, but editing of the Makefile's does not seem to help.

Does anyone have any suggestions?

SD



SD
 
Hello Stuart,

That looks a bit funny - you sure you've got the source files installed in the right place(s)?

Mike

To err is human,
but to really foul things up -
you require a man Mike.

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
What source files?

I have got the xerces-c lib and include files located in /usr/local/

The xerces-p stuff has just been un-tarred in my home directory.

I have set
XERCESCROOT=/live/stuart/xerces-2.5.0,
XERCES_INCLUDE=/usr/local/include and
XERCES_LIB=/usr/local/lib



SD
 
Looks as if you've followed the instructions in the documentation.

I'd check everything you've done one last time and then write a note (a nice polite one :-)) to the author asking for help and telling him what platform, O/S, compiler and exactly what you've done.

Mike

To err is human,
but to really foul things up -
you require a man Mike.

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top