This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/13893] New: cross compile issue with prefix: not found

             Bug #: 13893
           Summary: cross compile issue with prefix: not found
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: minor
          Priority: P2
         Component: build
    Classification: Unclassified


uname -a (modified hostname):
Linux #1 SMP PREEMPT 2011-12-19
23:39:38 +0100 i686 i686 i386 GNU/Linux

configure options:
configure --target=arm-linux --prefix=/usr/local/arm-linux --enable-add-on

gcc -v:
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl= --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
Thread model: posix
gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) 

ld -v:
GNU ld (GNU Binutils; openSUSE 11.4) 2.21

How to replicate:

After configure I then run make, which works fine. When it gets to the make
install I see this error:

Can't open configuration file /usr/local/arm-linux/etc/ No such file
or directory make[1]: Leaving directory

I was able to fix this by doing the following:

mkdir -p /usr/local/arm-linux/etc
touch /usr/local/arm-linux/etc/

Then running configure, make, make install.

As a suggestion, in the configure script, if the prefix is passed in that a
check is performed for a; if there is not then touch it.

If there is anything else I can provide, let me know.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]