You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Craig Noah <Cr...@sterling.com> on 2000/03/03 20:27:31 UTC

Build bug

I am trying to build the latest version of Xerces (I downloaded the
source today - 3 Mar 2000).  I am running solaris 2.5.1 on a sparc box
with gcc and g++.  I ran runConfigure as:
      runConfigure -p solaris -c gcc -x g++ -t native
then I ran gmake, as instructed.  The following message was at the end
of the build attempt:

gmake[1]: Leaving directory
`/export/home4/xerces-csrc_1_1_0_d15/src/validators/DTD'
Building /export/home4/xerces-csrc_1_1_0_d15/src/lib/libxerces-c1_1
cd /export/home4/xerces-csrc_1_1_0_d15/src/obj ; gmake -k  ; cd ..
gmake[1]: Entering directory
`/export/home4/xerces-csrc_1_1_0_d15/src/obj'
gmake[1]: *** No targets specified and no makefile found.  Stop.
gmake[1]: Leaving directory
`/export/home4/xerces-csrc_1_1_0_d15/src/obj'

What do I need to do to get a Makefile put into the src/obj directory?

--
Craig Noah                  INTERNET: Craig.Noah@sterling.com
Software Engineer

                Sterling Software ITD
1404 Fort Crook Road South     Phone:    (402) 291-8300 x 284
Bellevue,  NE   68005-2969     FAX:      (402) 291-4362



Re: Build bug

Posted by Rahul Jain <ra...@apache.org>.
runConfigure works, as well, if you have spaces between options and
option values.

I suspect that XERCESCROOT environment variable was not defined
properly. The object files have been copied to some other destination
and not to XERCESCROOT/obj, where the makefile is expecting them to
be.

rahul



Re: Build bug

Posted by Adrian Dorsman <ad...@nbci.com>.
That error I've seen only when runConfigure has not worked properly.

I don't think runConfigure works when you have spaces between the
command line switches and arguments:

try executing runConfigure again as:

runConfigure -psolaris -cgcc -xg++ -tnative

and check closely for any errors in its output before running gmake.

-Adrian

Craig Noah wrote:

>  I am trying to build the latest version of Xerces (I downloaded the
> source today - 3 Mar 2000).  I am running solaris 2.5.1 on a sparc box
> with gcc and g++.  I ran runConfigure as:
>       runConfigure -p solaris -c gcc -x g++ -t native
> then I ran gmake, as instructed.  The following message was at the end
> of the build attempt:
>
> gmake[1]: Leaving directory
> `/export/home4/xerces-csrc_1_1_0_d15/src/validators/DTD'
> Building /export/home4/xerces-csrc_1_1_0_d15/src/lib/libxerces-c1_1
> cd /export/home4/xerces-csrc_1_1_0_d15/src/obj ; gmake -k  ; cd ..
> gmake[1]: Entering directory
> `/export/home4/xerces-csrc_1_1_0_d15/src/obj'
> gmake[1]: *** No targets specified and no makefile found.  Stop.
> gmake[1]: Leaving directory
> `/export/home4/xerces-csrc_1_1_0_d15/src/obj'
>
> What do I need to do to get a Makefile put into the src/obj directory?
>
> --
> Craig Noah                  INTERNET: Craig.Noah@sterling.com
> Software Engineer
>
>                 Sterling Software ITD
> 1404 Fort Crook Road South     Phone:    (402) 291-8300 x 284
> Bellevue,  NE   68005-2969     FAX:      (402) 291-4362
>
>

--
Adrian Dorsman

Software Engineer, NBC Internet
adriand@nbci.com, p:415.875.7953, f:415.392.9106