I was trying to build BRL-CAD in the Cygwin environment. I realize that
this is not supported, but I could not find the "Windows Version" and I
cannot find any docs on building windows version. If no one responds to
this, don't worry my feelings won't be hurt. I realize that Cygwin is a
fringe environment Anyway:
I have checked out trunk on windows and I believe there may be a character
encoding issue in either svn or in the use of autotools.
running ./autogen.sh runs to completion successfully:
$ ./autogen.sh
Preparing the BRL-CAD build system...please wait
Found GNU Autoconf version 2.63
Found GNU Automake version 1.10.1
Found GNU Libtool version 1.3087 2008-08-02) 2.2.7a
Automatically preparing build ... done
The BRL-CAD build system is now prepared. To build here, run:
./configure
make
But then comes ./configure
$ ./configure
./configure: line 5: .14: command not found
./configure: line 6: .3: command not found
./configure: line 7: .: filename argument required
.: usage: . filename [arguments]
A look see (technical term) at the file shows the following beginning at
line 4 and continuing to line eight.
-snip
# Generated by GNU Autoconf 2.63 for BRL-CAD 7
.14
.3
.
#
-snip
Clearly the version of BRL-CAD 7.14.3. is broken up amongst lines likely due
to some character encoding or autotools issue.
Fixing this and rerunnning produces:
./configure: line 2483: .14: command not found
./configure: line 2484: .3: command not found
*****************************************************
*** Configuring BRL-CAD Release 7, Build 20090228 ***
*****************************************************
checking build system type... i686-pc-cygwin
... blah
... blah
... blah
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/BrianDavis/projects/BRLCAD/source/trunk':
configure: error: C compiler cannot create executables
See `config.log' for more details.
So checking config log shows:
#define PACKAGE_VERSION "7
.14
.3
"
#define PACKAGE_STRING "BRL-CAD 7
.14
.3
"
#define PACKAGE_BUGREPORT "http://brlcad.org"
#define BRLCAD_ROOT "/usr/brlcad"
#define BRLCAD_DATA "/usr/brlcad/share/brlcad/7"
#define PACKAGE "brlcad"
#define VERSION "7
.14
.3
"
configure: exit 77
Where again the version is broken among multiple lines
Any ideas?
Well any way back to find and replace :-) Thankfully I have Eclipse+CDT
--
Brian
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel