xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41113] New: - Problem compiling xerces-p on solaris
Date Wed, 06 Dec 2006 11:15:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41113>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41113

           Summary: Problem compiling xerces-p on solaris
           Product: XmlCommons
           Version: 1.x
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: XmlStylebook
        AssignedTo: commons-dev@xml.apache.org
        ReportedBy: email-01@unimad.net


Trying to compile XML-Xerces-2.6.0 on a solaris 8 system (SunOS cs65 5.8 
Generic_117350-36 sun4u sparc SUNW,Sun-Blade-2500) running Sun Studio 11 (CC: 
Sun C++ 5.8 2005/10/13). We've also tried with Sun Studio 8 (CC: Sun C++ 5.5 
Patch 113817-08 2004/04/13), but we are getting the following errors:

# env | grep XERCES
XERCESCROOT=/tmp/PDxercesc26_src-2.6.0
XERCES_LIB=/opt/tools/lib
XERCES_INCLUDE=/opt/tools/include/xerces-2.6

# cd XML-Xerces-2.6.0-2
# perl Makefile.PL
Using XERCES_LIB = /opt/tools/lib
Using XERCES_INCLUDE = /opt/tools/include/xerces-2.6
using XERCES_CONFIG: /tmp/PDxercesc26_src-2.6.0/src/xercesc/config.status

Found CXX      = CC
Found CXXFLAGS =  -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -
DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET
Found LDFLAGS  =
Using Xerces-C version info from /opt/tools/include/xerces-
2.6/xercesc/util/XercesVersion.hpp
Checking to see if libxerces is in your library path...Success!!
Using Xerces-C version: 2.6.0
Checking if your kit is complete...
Looks good
Processing hints file hints/solaris_2.pl
Writing Makefile for Handler
Writing Makefile for XML::Xerces


# make
cp Xerces.pm blib/lib/XML/Xerces.pm
make -C Handler static
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
             [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
             [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro 
+=value"... ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/Handler/Handler.a'


We had to manually edit the Makefile and change the line
$(MAKE) -C Handler static
to
cd Handler ; $(MAKE) static

After the change run make again:

# make
## make -C Handler static
cd Handler ; make static
CC -c  -I. -IHandler -I/opt/tools/include/xerces-2.6  -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -KPIC "-
I/opt/tools/lib/perl5/5.8.5/sun4-solaris-ld/CORE"   PerlCallbackHandler.cpp
CC -c  -I. -IHandler -I/opt/tools/include/xerces-2.6  -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -KPIC "-
I/opt/tools/lib/perl5/5.8.5/sun4-solaris-ld/CORE"   
PerlContentCallbackHandler.cpp
"PerlContentCallbackHandler.cpp", line 82: Warning: String literal converted to 
char* in initialization.
"PerlContentCallbackHandler.cpp", line 337: Warning: String literal converted 
to char* in initialization.
2 Warning(s) detected.
CC -c  -I. -IHandler -I/opt/tools/include/xerces-2.6  -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -KPIC "-
I/opt/tools/lib/perl5/5.8.5/sun4-solaris-ld/CORE"   
PerlDocumentCallbackHandler.cpp
"PerlDocumentCallbackHandler.cpp", line 73: Warning: String literal converted 
to char* in initialization.
"PerlDocumentCallbackHandler.cpp", line 311: Warning: String literal converted 
to char* in initialization.
2 Warning(s) detected.
CC -c  -I. -IHandler -I/opt/tools/include/xerces-2.6  -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"\"  -DXS_VERSION=\"\" -KPIC "-
I/opt/tools/lib/perl5/5.8.5/sun4-solaris-ld/CORE"   PerlErrorCallbackHandler.cpp
"PerlErrorCallbackHandler.cpp", line 69: Warning: String literal converted to 
char* in initialization.
"PerlErrorCallbackHandler.cpp", line 98: Warning: String literal converted to 
char* in initialization.
"PerlErrorCallbackHandler.cpp", line 130: Warning: String literal converted to 
char* in initialization.
3 Warning(s) detected.
rm -rf ../blib/arch/auto/Handler/Handler.a
/usr/ccs/bin/ar cr ../blib/arch/auto/Handler/Handler.a PerlCallbackHandler.o  
PerlContentCallbackHandler.o  PerlDocumentCallbackHandler.o  
PerlErrorCallbackHandler.o && : ../blib/arch/auto/Handler/Handler.a
chmod 755 ../blib/arch/auto/Handler/Handler.a
make: Fatal error: Don't know how to make target `dynamic'
Current working directory /home/engineer/ydiamant/WORK/evaluations/xerces/XML-
Xerces-2.6.0-2/Handler
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

We do not know how to proceed from this point on.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message