Home > Error Cannot > Error Cannot Check For File Existence When Cross Compiling

Error Cannot Check For File Existence When Cross Compiling

I've just commited a change to apr to better protect our own struct iovec definition, but I doubt that this will fix your issue: http://svn.apache.org/viewvc?rev=1086125&view=rev this change will be available with Can anyone please help me with this? Isn't requiring the user to manually create and edit config.cache resulting in unnecessary work and confusion for the them when it can be addressed in configure.in? Has anyone successfully cross-compiled apr for AVR32? Check This Out

configure: error: cannot check for file existence when cross compiling When I start make I get the following lines: jddev@m101n11ech:~/Downloads/apr-1.4.6$ make make[1]: Entering directory `/home/jddev/Downloads/apr-1.4.6' /bin/bash /home/jddev/Downloads/apr-1.4.6/libtool --silent --mode=compile ppc_82xx-gcc -g this option is only used forbuilding compilers, the --host option is enough--Matthias KaehlckeEmbedded Linux EngineerBarcelonaThe book of nature is written in the language of mathematics(Galileo Galilei).''`.using free software / Debian GNU/Linux Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 2 Star 21 Fork 4 sarav/syno-packager Code Issues 1 Pull requests 0 Projects i think for this kind of check you haveto specify the option manually. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26046

Otherwise, I can think a bit more and try to handle it better than making Curl as non-std. none required > checking for library containing if_nametoindex... Copyright © by Hugo Leisink. configure: error: cannot check for file existence when cross compilingconfigure failed for srclib/aprI tried with this: ac_cv_file_dev_zero=no, also with "yes", I found both on the internet but neither of them worked.Can

  1. What you can do is check configure.ac, hiawatha.c and serverconfig.c and remove all the ifdef HAVE_DEV_URANDOM blocks.
  2. Oct 8, 2008 Posts: 6 View posts Location: Fredrikstad, Norway #1 Posted by anders.norman: Tue.
  3. If you need a cross compiler, Debian ships several several (eg: avr, m68hc1x, mingw32), while dpkg-cross easily creates others.
  4. You have been doing some cross-compiling for kaffe recently.

I'd like to give our (admittedly: oddball) mingw version another go when the X-compile patches are in python SVN. You signed in with another tab or window. Of course, this causes SSL to not initialize securely. You signed out in another tab or window.

as you are cross compiling it isn't the /dev/zero of yourbuild system what matters, but if the device node is present on theroot filesystem of your device. with./configure --host=arm-unknown-linux-gnu --prefix=/tmp/apacheac_cv_file__dev_zero=yesthe error about /dev/zero doesn't show up anymore, but others of thesame kinduse grep to figure out the name of the option that triggers theoffending check. Regards, Marta ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php Follow-Ups: Re: Problem cross-compiling Apache From: Matthias Kaehlcke Prev by Date: Re: Looking for memory leak detector with ARM EABI stack They won't be included in the 2.5 maintenance branch (as they are a new feature), so they need to be ported to the trunk, anyway. ---------------------------------------------------------------------- Comment By: Martin v.

Right now, I'm overriding sysconfig wholesale in setup.py with a sysconfig._config_vars.update (os.environ) but I'm not sure that this affects the settings in build_ext.py. I have: ./configure --host=arm-apple-darwin --prefix=/opt/CURL/arm --program-prefix=/usr/local/iphone --disable-shared --disable-crypto-auth --without-gnutls --with-ssl=/opt/OpenSSL/arm --without-zlib --without-libssh2 --disable-ipv6 --disable-manual --disable-http --enable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --enable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-manual --disable-ipv6 --disable-sspi --disable-cookies Terms Privacy Security Status Help You can't perform that action at this time. I am using Denx ELDK 3.0 (www.denx.de) for cross compiling.

Because this bug is rather old and the library is still unusable I set the bug importance to P1 and to blocker. Get More Info configure: error: cannot check for file existence when cross compiling" You need to set up a config.cache file that contains the correct entry for ac_cv_file__dev_ptmx ---------------------------------------------------------------------- Comment By: Han-Wen Nienhuys (hanwen) configure: error: cannot check for file existence when cross compiling" You need to set up a config.cache file that contains the correct entry for ac_cv_file__dev_ptmx ---------------------------------------------------------------------- Comment By: Richard Tew (rmt38) So, I'm guessing you are using a different distribution.

And most of all, it requires you to know what you are doing The best option is of course to compile on the platform you will run Hiawatha on. his comment is here Peter 22 February 2009, 18:32 You may need to provide a parameter like '--with-random=/dev/urandom' to configure as it cannot detect the presence of a random number generating device for a target What's the procedure: do we send the disclaimer first, or do you do the review, or does everything happen in parallel? ---------------------------------------------------------------------- Comment By: Martin v. Changelog Development Documentation Download libcurl Mailing Lists News cURL / Mailing Lists / curl-library / Single Mail curl-library checking file existence while cross compiling?

Hugo Leisink 23 February 2009, 00:10 Oke, I will look into that. unless you provide more infos we are not able to fix this for your platform ... Please make it use the one from PC (consider updating the comment about calling initall) b52dbbbbc3adece61496b161d8c22599caae2311 - please combine all patches adding support for __MINGW32__ into a single one. this contact form In case of problems with the functioning of ASF Bugzilla, please contact [email protected]

Be aware that, like most Autoconf macros, they test a feature of the host machine, and therefore, they die when cross-compiling. Löwis (loewis) Date: 2006-12-06 20:06 Message: Logged In: YES user_id=21627 Originator: NO I'll add my comments as I go through the patches. cab1e7d1e54d14a8aab52f0c3b3073c93f75d4fc: - why is there now a mingw32msvc2 platform?

It's Windows, and that is already supported.

none required > checking for library containing regcomp... it could be a valuable source ofinformation to figure out the options (or patches) youneed. Comment 5 kirsche40 2012-06-20 10:44:42 UTC New information. Before cross compiling, Python must first be compiled and installed on the build host.

I thought Python compiles already with mingw32 (on Windows)? - what is the exclusion of freezing for? 059af829d362b10bb5921367c93a56dbb51ef31b - Why are you taking timeval from winsock2.h? configure: error: cannot check for file existence when cross compiling #2 Open Diaoul opened this Issue Nov 27, 2010 · 1 comment Labels None yet Milestone No milestone Otherwise, check out Dan Kegel's crosstool: http://www.kegel.com/crosstool . ---------------------------------------------------------------------- >Comment By: Han-Wen Nienhuys (hanwen) Date: 2007-01-08 07:59 Message: Logged In: YES user_id=161998 Originator: YES Regarding --config-cache, yes you're correct. http://optimisersonpc.com/error-cannot/error-cannot-start-arcsde-check-for-zombie-process.html This topic has been closed.

They are all "standard" in that they all use the configure script and have a standard way of mentioning the prefix, libraries path, etc. For the sake of posterity and other automake-challenged code monkeys like myself who may run into this, the trick was to create the following file: bash-3.00$ cat config.cache ac_cv_file__dev_random=yes bash-3.00$ and Löwis (loewis) Date: 2006-11-16 21:47 Message: Logged In: YES user_id=21627 Originator: NO Would you and Jan Nieuwenhuizen be willing to sign the contributor agreement, at http://www.python.org/psf/contrib.html I haven't reviewed the patch can you please check the configure log why APR_HAVE_IOVEC was not detected properly, and check your headers for struct iovec where it is defined?

Now, when running make I get the following error message: /bin/bash /home/avr32/aluminium/lib/apr/libtool --silent --mode=compile avr32-linux-gcc -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I./include -I/home/avr32/aluminium/lib/apr/include/arch/unix -I./include/arch/unix -I/home/avr32/aluminium/lib/apr/include/arch/unix -I/home/avr32/aluminium/lib/apr/include -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && Regarding your comments: * what would be a better to import the SO setting? Thanks in advance. I used following files for build: ============= APR ============= #!/bin/sh export PATH=/opt/eldk/usr/bin:/opt/eldk/bin:$PATH export ARCH=powerpc export CROSS_COMPILE=ppc_82xx- export CC=ppc_82xx-gcc export LD=ppc_82xx-ld export CXX=ppc_82xx-g++ export AR=ppc_82xx-ar export CPP=ppc_82xx-cpp export STRIP=ppc_82xx-strip ./configure \ --host=ppc-linux

e.g.:grep -H setpgrp configure srclib/apr/*openembedded.org is an embedded meta-distribution with recipes tobuild packages from source. I suggest to drop it 23a2dd14933a2aee69f7cdc9f838e4b9c26c1eea - don't include bits/time.h; it's not meant for direct inclusion 6689ca9dea07afbe8a77b7787a5c4e1642f803a1 - what's a .x file? ---------------------------------------------------------------------- Comment By: Han-Wen Nienhuys (hanwen) Date: 2006-11-25 15:12 All packages at lilypond.org/install/ except for darwin contain the x-compiled python. none required > checking for /dev/random...

Python is compiled on the "build" system and executed on the "host" system. a838b4780998ef98ae4880c3916274d45b661c82 - Why doesn't that already work on Windows+cygwin+mingw32? A better way to solve this problem (if this is a specific Curl problem) would be to put Curl in non std package list with its specific option. (cf http://curl.haxx.se/mail/lib-2010-05/0175.html) syno-packager os.environ['VAR'] this doesn't introduce any fragility in parsing/expanding/(un)quoting, so it's actually pretty good.

Back to Top