public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* install problem
@ 2002-06-24 15:32 Andrea C. Granata
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea C. Granata @ 2002-06-24 15:32 UTC (permalink / raw)
  To: gcc-help

Hi all,

I am trying to install gcc3.1 on a Linux-Trustix 1.5 box.

I got this error during "make install":



make[2]: Leaving directory `/home/andreag/gcc-3.1/objdir/gcc/intl'
/bin/sh ../../gcc/mkinstalldirs /usr/local/share
for cat in ; do \
  lang=`basename $cat | sed 's/\.gmo$//'`; \
  if [ -f $cat ]; then :; \
  elif [ -f ../../gcc/$cat ]; then cat=../../gcc/$cat; \
  else continue; \
  fi; \
  dir=/usr/local/share/locale/$lang/LC_MESSAGES; \
  echo /bin/sh ../../gcc/mkinstalldirs $dir; \
  /bin/sh ../../gcc/mkinstalldirs $dir || exit 1; \
  echo /bin/sh /home/andreag/gcc-3.1/install-sh -c -m 644 $cat
$dir/gcc.mo; \
  /bin/sh /home/andreag/gcc-3.1/install-sh -c -m 644 $cat $dir/gcc.mo; \
done
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for cat in ; do  lang=`basename $cat | sed
's/\.gmo$//'`;  if [ -f $cat ]; then :;  elif [ -f ../../gcc/$cat ];
then cat=../../gcc/$cat;  else continue;  fi; 
dir=/usr/local/share/locale/$lang/LC_MESSAGES;  echo /bin/sh
../../gcc/mkinstalldirs $dir;  /bin/sh ../../gcc/mkinstalldirs $dir ||
exit 1;  echo /bin/sh /home/andreag/gcc-3.1/install-sh -c -m 644 $cat
$dir/gcc.mo;  /bin/sh /home/andreag/gcc-3.1/install-sh -c -m 644 $cat
$dir/gcc.mo;  done'
make[1]: *** [install-po] Error 2
make[1]: Leaving directory `/home/andreag/gcc-3.1/objdir/gcc'
make: *** [install-gcc] Error 2


I'd appreciate any help or suggestions.

Thanks
Andrea Granata.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* install problem
@ 2000-08-28 15:42 =?X-UNKNOWN?Q?Bj=F8rn-Erik_Halvorsen?=
  0 siblings, 0 replies; 4+ messages in thread
From: =?X-UNKNOWN?Q?Bj=F8rn-Erik_Halvorsen?= @ 2000-08-28 15:42 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2796 bytes --]

Hi!
I'm having problems installing gcc. I'm dooing this at a redhat6.2
system with gcc version 2.95.1 19990816/Linux (release) installed.
I'v made the following directories
/usr/local/objects
/usr/local/gcc-2.95.2
/usr/gcc-2.95-2

I'll do:=20
cd /usr/local/objects
=2E./gcc-2.95.2/configure --prefix=3D/usr/gcc-2.95-2
make CFLAGS=3D'-O' LIBCFLAGS=3D'-g -O2' LIBCXXFLAGS=3D'-g -O2=20
-fno-implicit-templates' bootstrap

I'll get:
make[1]: Entering directory `/usr/local/objects/libiberty'
if [ x"no" =3D xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
test x"no" !=3D xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc-2.95.2/libiberty/../include   ..
/../gcc-2.95.2/libiberty/argv.c -o pic/argv.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include
=2E./..
/gcc-2.95.2/libiberty/argv.c
test x"no" !=3D xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc-2.95.2/libiberty/../include   ..
/../gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include
=2E./..
/gcc-2.95.2/libiberty/choose-temp.c
test x"no" !=3D xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc-2.95.2/libiberty/../include   ..
/../gcc-2.95.2/libiberty/concat.c -o pic/concat.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include
=2E./..
/gcc-2.95.2/libiberty/concat.c
test x"no" !=3D xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc-2.95.2/libiberty/../include   ..
/../gcc-2.95.2/libiberty/cplus-dem.c -o pic/cplus-dem.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include
=2E./..
/gcc-2.95.2/libiberty/cplus-dem.c
test x"no" !=3D xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc-2.95.2/libiberty/../include   ..
/../gcc-2.95.2/libiberty/fdmatch.c -o pic/fdmatch.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include
=2E./..
/gcc-2.95.2/libiberty/fdmatch.c
test x"no" !=3D xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2
-I. -I../../gcc-2.95.2/libiberty/../include   ..
/../gcc-2.95.2/libiberty/fnmatch.c -o pic/fnmatch.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include
=2E./..
/gcc-2.95.2/libiberty/fnmatch.c
In file included from /usr/include/errno.h:36,
                 from ../../gcc-2.95.2/libiberty/fnmatch.c:46:
/usr/include/bits/errno.h:25: linux/errno.h: Ingen slik fil eller
filkatalog
make[1]: *** [fnmatch.o] Error 1
make[1]: Leaving directory `/usr/local/objects/libiberty'
make: *** [all-libiberty] Error 2

I'v got /usr/bin/gcc in my path and I even tried to put '.' in my path.
I hope you can help me.


Bjørn Erik Halvorsen
Kryssvn.18  0583 Oslo. tlf:93877766
e-mail:=09bjorn-er@student.matnat.uio.no, bhalvors@jancomulti.com
http://www.ifi.uio.no/~bjorn-er/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: install problem
  2000-06-24  1:36 YiWei Luo (ENC)
@ 2000-06-24  2:10 ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2000-06-24  2:10 UTC (permalink / raw)
  To: YiWei Luo (ENC); +Cc: 'gcc-help@gcc.gnu.org'

On Jun 24, 2000, "YiWei Luo (ENC)" <YiWei.Luo@enc.ericsson.se> wrote:

> Hi,I meet big trouble when I install gcc-2.95..My operation system
> is HPUX11.0.

GCC 2.95 doesn't support HPUX 11.

> sh[4]: bison:  not found.

> Does I need to install bison?

Nope, just touch c-parse.y, so that `make' won't try to rebuild it.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

* install problem
@ 2000-06-24  1:36 YiWei Luo (ENC)
  2000-06-24  2:10 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: YiWei Luo (ENC) @ 2000-06-24  1:36 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Hi,I meet big trouble when I install gcc-2.95..My operation system is HPUX11.0.
I do install in this way.
1.download the gcc source and unzip it
2.add path /usr/local/bin to variable PATH and export it
3.cd gcc-2.95
4../configure --enable-languages='c++'
5.make bootstrap.Then the error happend,with error message as below(I copy the several last lines of output of comaand make)
        cd .; `if [ -f /usr/local/gcc-2.95/gcc/../bison/bison ] ; then case . i\
        /*) echo /usr/local/gcc-2.95/gcc/../bison/bison -L ./../bison/ ;; \
        *) echo /usr/local/gcc-2.95/gcc/../bison/bison -L /usr/local/gcc-2.95/g\
        esac; else echo bison ; fi`  -d -o c-parse.c c-parse.y
sh[4]: bison:  not found.
*** Error exit code 127

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

So I think maybe I need install bison.I do install bison.
I do install in this way.
1.download the bison source and unzip it
2.add path /usr/local/bin to variable PATH and export it
3.cd bison-1.28
4../configure
5.make.Then the error happend,with error message as below(I copy the several last lines of output of comaand make)
   Making all in po
        file=./`echo de | sed 's,.*/,,'`.gmo \
          && rm -f $file && PATH=../src:$PATH msgfmt -o $file de.po
sh[2]: msgfmt:  not found.
*** Error exit code 127

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Does I need to install bison?If so,how to solve the peroblem happend in the course of install bison.
Can you give me some idea and how to get rid of the proble?I really appreciate your help.
Best Regards
Luo Yiwei


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-24 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-24 15:32 install problem Andrea C. Granata
  -- strict thread matches above, loose matches on Subject: below --
2000-08-28 15:42 =?X-UNKNOWN?Q?Bj=F8rn-Erik_Halvorsen?=
2000-06-24  1:36 YiWei Luo (ENC)
2000-06-24  2:10 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).