Re: Unable to install mipsel-linux-* packages for Darwin port / Mac Port
It looks like to me that the configure.args file failed to be created. From the below it seems that it is expecting it to be in a certain directory. I have never installed this port. So I have never encountered the problem. Paul Franz ----- Original Message ---- From: Pravin Mane <pravinapple@gmail.com> To: macports-users@lists.macosforge.org Sent: Wednesday, October 11, 2006 10:40:50 AM Subject: Unable to install mipsel-linux-* packages for Darwin port / Mac Port Hello Guys, I am not sure if anyone of the community members received this mail. So am just sending the mail again. Hopefully someone will reply soon. Thanks, Pravin On Oct 9, 2006, at 12:34 PM, Pravin Mane wrote: Hello Macport Community, I am working on a embedded project and need to install mipsel-linux-* toolchain on MAC OS X 10.4.8. I have downloaded Darwinport/Macport (version 1.320). I get following error when trying to install mipsel-linux-gcc34: sudo port install mipsel-linux-gcc34 ---> Building mipsel-linux-binutils with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_mipsel-linux-binutils/work/binutils-2.16.1" && make all" returned error 2 Command output: Configuring in libiberty configure: loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo checking for perl... perl checking build system type... Invalid configuration `configure.args': machine `configure.args' not recognized configure: error: /bin/sh .././libiberty/../config.sub configure.args failed make: *** [configure-libiberty] Error 1 Error: The following dependencies failed to build: mipsel-linux-binutils mipsel-linux-uclib-headers mipsel-linux-kernel-headers Error: Status 1 encountered during processing. I am not sure why I am getting the "invalid configuration" error for these mipsel-linux* ports. I have been able to install other packages using Macport such as 'ddd' etc... Can you kindly help me understanding what is the issue with mipsel-linux* macports? Thanks in advance. Pravin _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Hello Paul and community, Thanks for your note. After your mail, I went into the work directory of the port and did a manual ./configure and "make all"... This seems to have worked and indeed installed the mipsel-linux-binutils port. Then I went ahead and tried to install mipsel-linux-gcc34 and I ran into following issue for the gcc34 port: port install mipsel-linux-gcc34 ---> Fetching mipsel-linux-gcc34 ---> Verifying checksum(s) for mipsel-linux-gcc34 ---> Extracting mipsel-linux-gcc34 ---> Applying patches to mipsel-linux-gcc34 ---> Configuring mipsel-linux-gcc34 ---> Building mipsel-linux-gcc34 with target all <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_cross_mipsel-linux-gcc34/work/gcc-3.4.4" && AR_FOR_TARGET=/opt/ local/cross/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ar AS_FOR_TARGET=/opt/local/cross/mipsel-linux-uclibc/mipsel-linux- uclibc/bin/as LD_FOR_TARGET=/opt/local/cross/mipsel-linux-uclibc/ mipsel-linux-uclibc/bin/ld NM_FOR_TARGET=/opt/local/cross/mipsel- linux-uclibc/mipsel-linux-uclibc/bin/nm RANLIB_FOR_TARGET=/opt/local/ cross/mipsel-linux-uclibc/{target}/bin/ranlib PATH=/opt/local/cross/ mipsel-linux-uclibc/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/ usr/bin:/usr/sbin:/usr/X11R6/bin make all" returned error 2 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Command output: TARGET_CPU_DEFAULT="" \ HEADERS="ansidecl.h" DEFINES="" \ /bin/sh ./mkconfig.sh tconfig.h echo '#define FLOAT' > fp-bit.c echo '#ifdef __MIPSEL__' >> fp-bit.c echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c echo '#endif' >> fp-bit.c echo '#define QUIET_NAN_NEGATED' >> fp-bit.c cat ./config/fp-bit.c >> fp-bit.c echo '#ifdef __MIPSEL__' > dp-bit.c echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c echo '#endif' >> dp-bit.c echo '#define QUIET_NAN_NEGATED' >> dp-bit.c cat ./config/fp-bit.c >> dp-bit.c /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_cross_mipsel-linux-gcc34/work/gcc-3.4.4/gcc/xgcc -B/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_cross_mipsel-linux-gcc34/work/gcc-3.4.4/gcc/ -B/opt/local/cross/ mipsel-linux-uclibc//mipsel-linux-uclibc/bin/ -B/opt/local/cross/ mipsel-linux-uclibc//mipsel-linux-uclibc/lib/ -isystem /opt/local/ cross/mipsel-linux-uclibc//mipsel-linux-uclibc/include -isystem /opt/ local/cross/mipsel-linux-uclibc//mipsel-linux-uclibc/sys-include -O2 - DIN_GCC -DCROSS_COMPILE -DUSE_UCLIBC -W -Wall -Wwrite-strings - Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - isystem ./include -I. -I. -I. -I./. -I./../include -g0 -finhibit- size-directive -fno-inline-functions -fno-exceptions -fno-zero- initialized-in-bss -fno-unit-at-a-time \ -c ./crtstuff.c -DCRT_BEGIN \ -o crtbegin.o /usr/libexec/gcc/darwin/i386/as: I don't understand 'E' flag! /usr/libexec/gcc/darwin/i386/as: I don't understand 'O' flag! /usr/libexec/gcc/darwin/i386/as: I don't understand '2' flag! /usr/libexec/gcc/darwin/i386/as: I don't understand '0' flag! /usr/libexec/gcc/darwin/i386/as: I don't understand '3' flag! /usr/libexec/gcc/darwin/i386/as: Flag option -2 has already been seen! /usr/libexec/gcc/darwin/i386/as: I don't understand '2' flag! /usr/libexec/gcc/darwin/i386/as: I don't understand 'K' flag! /usr/libexec/gcc/darwin/i386/as: I don't understand 'P' flag! /usr/libexec/gcc/darwin/i386/as: Flag option -o has already been seen! FATAL:-g can't be specified if -n is specified make[1]: *** [crtbegin.o] Error 1 make: *** [all-gcc] Error 2 Error: Status 1 encountered during processing. If one look into the shell command (I have marked it in red color as well as '<<<<<<' block in error message above), I see that the passed in AR_FOR_TARGET it set to "opt/local/cross/mipsel-linux-uclibc/ mipsel-linux-uclibc/bin/ar " This is what confuses me.... These ar, as, ld etc. utilities are not present in the path pointed to by the command. Is it a wise judgement to say that those should have been installed by the mipsel-linux-binutils port? From the error output, it seems that 'as' being used is the default 'as' that comes with MAC OS X (on Intel). Next issue is the -g and -n flag to the gcc compiler. I am using the default apple gcc compiler with following details: #gcc -v Using built-in specs. Target: i686-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] [^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona -- with-tune=generic --program-prefix= --host=i686-apple-darwin8 -- target=i686-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5363) I tried using gcc3.3 compiler that comes with the developer tools but even that had the same issue. Anyone in the community have any idea about such issue? Thanks, Pravin On Oct 11, 2006, at 3:11 PM, Paul Franz wrote:
It looks like to me that the configure.args file failed to be created. From the below it seems that it is expecting it to be in a certain directory. I have never installed this port. So I have never encountered the problem.
Paul Franz
----- Original Message ---- From: Pravin Mane <pravinapple@gmail.com> To: macports-users@lists.macosforge.org Sent: Wednesday, October 11, 2006 10:40:50 AM Subject: Unable to install mipsel-linux-* packages for Darwin port / Mac Port
Hello Guys,
I am not sure if anyone of the community members received this mail. So am just sending the mail again. Hopefully someone will reply soon.
Thanks, Pravin
On Oct 9, 2006, at 12:34 PM, Pravin Mane wrote: Hello Macport Community,
I am working on a embedded project and need to install mipsel-linux- * toolchain on MAC OS X 10.4.8. I have downloaded Darwinport/ Macport (version 1.320).
I get following error when trying to install mipsel-linux-gcc34:
sudo port install mipsel-linux-gcc34 ---> Building mipsel-linux-binutils with target all Error: Target com.apple.build returned: shell command "cd "/opt/ local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_cross_mipsel-linux-binutils/work/binutils-2.16.1" && make all" returned error 2 Command output: Configuring in libiberty configure: loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo checking for perl... perl checking build system type... Invalid configuration `configure.args': machine `configure.args' not recognized configure: error: /bin/sh .././libiberty/../config.sub configure.args failed make: *** [configure-libiberty] Error 1
Error: The following dependencies failed to build: mipsel-linux- binutils mipsel-linux-uclib-headers mipsel-linux-kernel-headers Error: Status 1 encountered during processing.
I am not sure why I am getting the "invalid configuration" error for these mipsel-linux* ports.
I have been able to install other packages using Macport such as 'ddd' etc...
Can you kindly help me understanding what is the issue with mipsel- linux* macports?
Thanks in advance.
Pravin
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
participants (2)
-
Paul Franz
-
Pravin Mane