swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

swarm-1.3 on hpux (9.05 and 10.20)


From: Rick Riolo
Subject: swarm-1.3 on hpux (9.05 and 10.20)
Date: Wed, 26 Aug 1998 10:02:48 -0400 (EDT)

Well, I installed bash-2.02.1 and then created a file mymake:

cat > mymake
#!/usr/local/bin/bash
SWARMSRCDIR=/s/Swarm/swarm-1.3
CONFIG_SHELL=/usr/local/bin/bash
export CONFIG_SHELL
(echo "#!$CONFIG_SHELL" ; cat /s/Swarm/swarm-1.3/configure ) > /tmp/configure
chmod 755 /tmp/configure
/tmp/configure --srcdir=$SWARMSRCDIR --prefix=/s/Swarm/swarm-1.3 
--disable-shared \
  --with-ffcalldir=/usr/local --with-pngdir=/usr/local --with-zlibdir=/usr/local
make  

Then I just typed
   chmod u+x mymake; mymake
and all seems to configure and make just fine!

Then I tried to make install:

badger-rlr)make install
/bin/sh: syntax error at line 1: `(' unexpected
make: *** [install-recursive] Error 2

I tried to do it under bash (admittedly maybe not
the way to run bash for this situation):

badger-rlr)bash
bash-2.02$ make install
/bin/sh: syntax error at line 1: `(' unexpected
make: *** [install-recursive] Error 2

And I tried to make a script similar to the one used
to do the regular make:

cat > mymakeinstall
#!/usr/local/bin/bash
SWARMSRCDIR=/s/Swarm/swarm-1.3
CONFIG_SHELL=/usr/local/bin/bash        ** probably not needed...
export CONFIG_SHELL
make install

bash-2.02$ mymakeinstall
/bin/sh: syntax error at line 1: `(' unexpected
make: *** [install-recursive] Error 2
bash-2.02$ 

So why does it keep using /bin/sh ?
Is that the problem?
(I'll admit I can never remember the ins and outs
of using multiple shells.)

Just fyi, I see the first lines from 
   make -n install
are:

set fnord n; amf=$2; \
list='src m4 etc'; for subdir in $list; do \
  target=`echo install-recursive | sed s/-recursive//`; \
  echo "Making $target in $subdir"; \
  (cd $subdir && make $target) \
   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
...

I can show you more if that would help.

Thanks!
 - r

Rick Riolo                           address@hidden
Program for Study of Complex Systems (PSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://www.pscs.umich.edu/PEOPLE/rlr-home.html



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]