An error occurred during "make install" binutils

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
matrixres
Posts: 1
Joined: Mon Nov 12, 2007 4:10 pm

An error occurred during "make install" binutils

Post by matrixres »

Hi, all

When I "make install" the binutils in building psptoolchain, I got error information below:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 bfd.h /usr/local/include/bfd.h
/usr/bin/install -c -m 644 .././bfd/../include/ansidecl.h /usr/local/include/ansidecl.h
/usr/bin/install -c -m 644 .././bfd/../include/symcat.h /usr/local/include/symcat.h
/usr/bin/install -c -m 644 .././bfd/../include/bfdlink.h /usr/local/include/bfdlink.h
make[3]: Leaving directory `/usr/development/c&c++/psp/tools/psptoolchain/build/binutils-2.16.1/bfd'
make[2]: Leaving directory `/usr/development/c&c++/psp/tools/psptoolchain/build/binutils-2.16.1/bfd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/development/c&c++/psp/tools/psptoolchain/build/binutils-2.16.1/bfd'
make: *** [install-bfd] Error 2

Best regards,
Kevin Kang
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

/usr/bin/install must have returned an error code. Either you don't have permission to write to the target directory/file, or maybe your /usr/bin/install binary is just messed up (I suggest that because typically it would print an error before returning an error code..)
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

It's possible the error was much higher up and he didn't scroll back far enough to find it. That's pretty common when you get errors with gcc.
Post Reply