Opened 14 years ago

Closed 14 years ago

#54 closed defect (fixed)

ASL Third Party package doesn't build on Solaris

Reported by: mjs Owned by: andreasw
Priority: major Component: configuration tests
Version: 0.5 Keywords:


Attempting to build the BugSquash? branch on Solaris, but ASL build fails.

The following show the results of attempting to build ASL standalone.

% ./get.ASL 
Running script for downloading the source code for the ASL
Downloading the source code from
           => `solvers.tar'
Connecting to[]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /ampl ... done.
==> PORT ... done.    ==> RETR solvers.tar ... done.

    [                  <=>                ] 4,464,640      1.20M/s             

09:32:56 (1.18 MB/s) - `solvers.tar' saved [4464640]

Unpacking the source code...
Uncompressing the source files...
Deleting the tar file...
Done downloading the source code for ASL.
% ./configure
checking build system type... sparc-sun-solaris2.10
checking whether we want to compile in debug mode... no
checking for egrep... egrep
checking whether ln -s works... yes
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
configure: C compiler options are: -xO4  -DNDEBUG   
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of cc... mkdir: Failed to make directory "conftest.dir"; File exists
mkdir: Failed to make directory "sub"; File exists
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make is the GNU make... no
checking which command should be used to link input files... ln -s
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compile_MS_ASL
config.status: executing depfiles commands
configure: Configuration of ThirdPartyASL successful
% make
rm -rf compdir ; \
/local/mjs/research/coin-or/svn/coin-BugSquash/all-trunk/install-sh -d compdir; \
files=`cd /local/mjs/research/coin-or/svn/coin-BugSquash/all-trunk/ThirdParty/ASL/solvers; ls *.[chs] *.[ch]0 *.hd arith.* makefile* `; \
cd compdir; \
for file in $files; \
do \
  rm -f $file ;\
  ln -s /local/mjs/research/coin-or/svn/coin-BugSquash/all-trunk/ThirdParty/ASL/solvers/$file $file ;\
done; \
rm -f makefile; \
sed -e 's%ar $(ARFLAGS)%ar $(ARFLAGS)%' makefile.u | sed -e 's%ar ruv%ar ruv%'  > makefile; \
make CFLAGS=" -xO4 -DNDEBUG " CC="cc" clean ;\
make CFLAGS=" -xO4 -DNDEBUG " CC="cc" ;\
mv amplsolver.a ../amplsolver.a
*** Error code 2
make: Fatal error: Command failed for target `amplsolver.a'

Change History (1)

comment:1 Changed 14 years ago by andreasw

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.