You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Adam Connelly (JIRA)" <xe...@xml.apache.org> on 2007/04/30 14:05:18 UTC

[jira] Created: (XERCESC-1695) Incorrect environment variables building for linux

Incorrect environment variables building for linux
--------------------------------------------------

                 Key: XERCESC-1695
                 URL: https://issues.apache.org/jira/browse/XERCESC-1695
             Project: Xerces-C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.7.0
         Environment: Debian GNU/Linux Stable
Linux Kernel 2.6.21
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
GNU Make 3.81
Built for an IBM T40 with a Pentium M
            Reporter: Adam Connelly


When I run the suggested build process, not everything appears to work.  For example here's what I have to do to get the libraries to install correctly (where the tarball has been extracted to $MY_ROOT):

export XERCESCROOT=$MY_ROOT/xerces-c-src_2_7_0
cd $XERCESCROOT/src/xercesc
./runConfigure -plinux -cgcc -xg++

Now I have to edit the Makefile that has been created, and after the VALIDATORS_DIR variable is set, I have to add another variable "XML_OBJ=../../obj"

Now if I run make, it will build everything fine.

Once everything is built, I run make install.  make install works until it has to run the makefile in the obj dir.  When the obj makefile is run, it tries to copy the libraries that have been built from /lib instead of $XERCESCROOT/lib which causes the build to fail.  I resorted to copying the files and creating the links manually at this point because I'm not familiar enough with makefiles and shell scripting to solve this error.

Hope that helps, and I hope it's not just me being stupid!

ac

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1695) Incorrect environment variables building for linux

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari closed XERCESC-1695.
------------------------------------

    Resolution: Won't Fix

The build system for Xerces 3.0 doesn't use those env variables anymore

> Incorrect environment variables building for linux
> --------------------------------------------------
>
>                 Key: XERCESC-1695
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1695
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.7.0
>         Environment: Debian GNU/Linux Stable
> Linux Kernel 2.6.21
> gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> GNU Make 3.81
> Built for an IBM T40 with a Pentium M
>            Reporter: Adam Connelly
>
> When I run the suggested build process, not everything appears to work.  For example here's what I have to do to get the libraries to install correctly (where the tarball has been extracted to $MY_ROOT):
> export XERCESCROOT=$MY_ROOT/xerces-c-src_2_7_0
> cd $XERCESCROOT/src/xercesc
> ./runConfigure -plinux -cgcc -xg++
> Now I have to edit the Makefile that has been created, and after the VALIDATORS_DIR variable is set, I have to add another variable "XML_OBJ=../../obj"
> Now if I run make, it will build everything fine.
> Once everything is built, I run make install.  make install works until it has to run the makefile in the obj dir.  When the obj makefile is run, it tries to copy the libraries that have been built from /lib instead of $XERCESCROOT/lib which causes the build to fail.  I resorted to copying the files and creating the links manually at this point because I'm not familiar enough with makefiles and shell scripting to solve this error.
> Hope that helps, and I hope it's not just me being stupid!
> ac

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org