[mapguide][MG80][New] Subversion-only build fails under Red Hat 3
Walt Welton-Lair
walt.welton-lair at autodesk.com
Wed Mar 8 13:06:37 EST 2006
You can view the artifact detail at the following URL:
https://mapguide.osgeo.org/servlets/Scarab/id/MG80
Type
Defect
Artifact ID
MG80 (Subversion-only build fails under Red Hat 3)
Reported by
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)
New artifact details:
---------------------------------------------------------
- OS Distribution and Version set to new value
Red Hat 3
- Platform set to new value
PC
- Version set to new value
1.0.0
- Description set to new value
The DBXML Pathan OEM component can fail to install on a Red Hat 3 Linux machine.
- Operating system set to new value
Linux
- Priority set to new value
P2
- Artifact Status set to new value
New
- Defect Severity set to new value
High
- Artifact created
- Developer Notes set to new value
I tracked this one down to a problem in the Makefile. In the install section it has the following line:
@for dir in `find include -type d | grep -v 'CVS'`; do $(srcdir)/util/mkinstalldirs $(incdir)/../$$dir ; $(LIBTOOL) --mode=install $(INSTALL) $(srcincdir)/../$$dir/*.h* $(incdir)/../$$dir 2>/dev/null >/dev/null; done
The 'find include -type d' command returns a list of all directory paths containing the name 'include', and grep -v 'CVS' removes all items in the list containing 'CVS'. So it looks like Sleepycat updated the Makefile to fix a similar build problem with CVS. But we're using Subversion and so we need another update for it. The Makefile also needs to remove all items containing '.svn', like this:
@for dir in `find include -type d | grep -v 'CVS' | grep -v '.svn'`; do $(srcdir)/util/mkinstalldirs $(incdir)/../$$dir ; $(LIBTOOL) --mode=install $(INSTALL) $(srcincdir)/../$$dir/*.h* $(incdir)/../$$dir 2>/dev/null >/dev/null; done
After this change 'make install' of Pathan succeeded for me on Red Hat.
- Summary set to new value
Subversion-only build fails under Red Hat 3
- Steps to Reproduce set to new value
Run build_oem.sh on a Red Hat 3 machine. Although build_oem reports it was successful, a closer look at the output will show:
Installing Pathan
...
make: *** [install] Error 1
- Target milestone set to new value
1.0.0
---------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list