Comments (17)
Hi, I think there is something wrong with your automake
installation.
Re-installing automake
, autogen
, ... may be worth a try:
sudo apt-get remove --purge automake* autoconf* autogen* libtool*
sudo apt-get install automake autoconf autogen libtool
from osxcross.
Unfortunately I'm seeing the same problems after running those commands.
from osxcross.
What's your automake version?
from osxcross.
automake (GNU automake) 1.14.1
from osxcross.
Weird, automake 1.14.1
works for me on Ubuntu 14.04
.
Are you sure no local installed automake
/ autogen
/ autoconf
/ libtool
is overriding your system installed one?
from osxcross.
I don't think so. I've never used automake/autogen/autoconf/libtool in my projects so I didn't replace them intentionally. I'll dig around and see what I can find. In case it helps:
libtool (GNU libtool) 2.4.2
autogen (GNU AutoGen) 5.18
autoconf (GNU Autoconf) 2.69
from osxcross.
cd build/cctools-855-ld64-236.3_fe05cf1
then run the following step by step:
aclocal
autoconf
libtoolize -c -i
automake -a -c
what's causing the error?
from osxcross.
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1$ aclocal
aclocal: error: 'configure.ac' is required
from osxcross.
Sorry my fault, it's cd build/cctools-855-ld64-236.3_fe05cf1/cctools
.
from osxcross.
There are two cctools files in tarballs, cctools-855-ld64-134.9_941a3df.tar.xz
and cctools-855-ld64-236.3_fe05cf1.tar.xz
. I've extracted both and neither have a configure.ac in them. The cctools
sub-directory does, however, have a configure.ac. Running the 4 above commands in that subdir results in no output/errors. After running those commands, I can ./configure
and make
successfully, though I'm not sure what to do with the resulting output :).
from osxcross.
Weird... and it doesn't work in build/cctools-855-ld64-236.3_fe05cf1/cctools
?
from osxcross.
Yeah, it appears to work in that child directory, insofar as there are no errors.
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ aclocal
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ autoconf
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ libtoolize -c -i
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ automake -a -c
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$
Then ./configure
and make
will complete successfully. I just don't know what the next step should be :).
from osxcross.
$ md5sum build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac
99046b161456ea620cc5065a34957d76 build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac
Do you get the same hash sum?
from osxcross.
parnic@orion:~/osxcross$ md5sum build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac
99046b161456ea620cc5065a34957d76 build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac
Yes.
from osxcross.
Well, I am out of ideas then...
posting the output of OCDEBUG=1 ./build.sh
may be helpful though.
BTW: Are you on an IRC network? May be easier to help you there.
from osxcross.
Yes, I'm Parnic on Freenode and Efnet.
from osxcross.
Thanks a ton for the very fast help. I had some incorrect build of aclocal
in my /usr/local/bin
directory that was interfering with this build script.
from osxcross.
Related Issues (20)
- gen_sdk_package error in xcode14 HOT 6
- Unpacking XCode CLI Tools 14.2 fails HOT 1
- Building compiler-rt with `build_compiler_rt.sh` fails
- "mv: cannot stat" error on extracting macOS SDK HOT 1
- Using gcc assembler HOT 2
- GCC Built by ./build_gcc.sh o32-gcc and o32-g++ only target x86_64 HOT 1
- Can't pass -Wl,--allow-multiple-definition HOT 3
- osxcross-macports infinite loops when installing install curl-ca-bundle HOT 5
- build_gcc.sh does not install needed prerequisites. HOT 2
- flang support HOT 1
- Add FAQ HOT 3
- error in osxcross build HOT 5
- RFE: macports variants
- stdlib.h missing from xar/lib/linuxattr.c HOT 2
- install_name_tool doesn't adjust ad-hoc code signatures HOT 1
- Error while packaging HOT 3
- Fialed to cross compile apple darwin target HOT 5
- This header is only meant to be used on x86 and x64 architecture HOT 2
- target-cpu
- ld64.lld: error: undefined symbol: __cpu_model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osxcross.