After updating to ML and Xcode 4.5.1, can't compile anything
Hi, hoping someone here will be able to give me a clue.
I used to compile a unix program called ffmpeg and about 12 dependencies. It is somewhat complex, but I have a script for updating the programs. When Lion came out I had to make some minor changes, including specifying --cc=clang in the ffmpeg configure step. Now with Mountain Lion and Xcode 4.5.1 I can't compile anything.
Rather than downloading and installing the command-line tools, which I understand just duplicate what is in Xcode, I added /Applications/Xcode.app/Contents/Developer/usr/bin to my path so that any configuration script would be able to get to the tools.
Nothing is compiling at all. Basically the compiler fails some tests in the scripts. Each program gives different error messages, but it all looks like the compiler is wrong.
Strangely, when I investigated the compilers in the above directory, I found that gcc (I guess the default) is an alias to llvm-gcc-4.2, in another folder. But when I just type gcc in a terminal, I get:
i686-apple-darwin11-llvm-gcc-4.2: no input files
So it is actually using a different compiler for reasons I don't understand, and I don't know if that is correct behavior, or if it is related to my inability to compile.
In case it is not obvious, I am just knowledgeable enough to be dangerous with this stuff.
Thanks,
Jim
Gee, you mean you can't believe everything you read on the internet?? ;-)
Well you're right. After installing the tools, all the programs appeared to compile fine . . . except ffmpeg. The terminal response at the end is
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
The config.log starts with the configure command:
./configure --prefix=/Volumes/Ramdisk/sw --enable-nonfree --enable-gpl --enable-version3 --arch=x86_64 --enable-hardcoded-tables --enable-libvo-aacenc --enable-libmp3lame --enable-libx264 --enable-libvorbis --enable-libgsm --enable-avfilter --enable-filters --enable-libtheora --enable-libspeex --disable-indevs --disable-outdevs --disable-ffserver --disable-network
And ends with:
check_ld cc
check_cc
BEGIN /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.huTMXBG3.c
1 int main(void){ return 0; }
END /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.huTMXBG3.c
gcc -I/Volumes/Ramdisk/sw/include
-c -o /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.ZC6xNAgf.o /var/folders/sy/2d072p1s4sdc95lpnwp6s3jh0000gn/T//ffconf.huTMXBG3.c
i686-apple-darwin11-llvm-gcc-4.2: \n: No such file or directory
C compiler test failed.
Any idea what's wrong now? The compiler still seems to be wrong for this program. This is the program for which in the past, I had to add --cc=clang - but now if I do that it just says "clang is unable . . ." instead of "gcc is unable . . ."
The next to last line in the config.log has me puzzled though - a newline tripping it up?
Similar Messages
-
I recently updated to Lion and now my external CD/DVD player (a samsung SE-S084D) won't work. I can't burn CDs and iTunes says no cd software is installed. The drive worked like a top in all flavors of 10.6. Anyone know what do to? The drivers for the drive--which I didn't need in 10.6--are all .exe files, so I'm out of luck there.
Thanks!No. The only way I finally got it to work was after about 5 restarts. I've never seen iTunes flip out like that before.
-
syching my iphone4 after updating to ios6 and now half my photos aren't showing up in my phone.
Did you restore from backup on iTunes or did you use iCloud?
Did you sync with iTunes? Is iTunes section for photos checked to sync all your photo locations?
Also, with photo streaming sometimes you need to switch from Album to photo stream to see some photos.
If your photos are on your computer still, they can be added back. if not and you depended solely on iCloud, then they may be gone. -
After updating to the current versions of Adobe, I can no longer scan and send emails.
After updating to the current versions of adobe, I can no longer scan and send emails nor can I open an attachment upon receiving an email.
Capt Camo wrote:
After updating to the current versions of adobe...
What exactly is "adobe"? Adobe is the name of a company that has hundreds of software products, each with a distinct name.
You are posting in the Flash Player forum; do you really receive emails with Flash attachments?
Flash Player also cannot scan or send emails.
Finally you give no information regarding your operating system, email client, etc. -
After updating windows 7 and firefox i constantly receive timed out or server not found messages
i constantly receive timed out or server not found messages after updating windows 7 and firefox 2 weeks ago. this was almost never a problem prior to updating
Connection Errors
https://support.mozilla.com/en-US/kb/Error%20loading%20web%20sites#w_connection-errors
Interrupted or Reset Connection
https://support.mozilla.com/en-US/kb/Error%20loading%20web%20sites#w_interrupted-or-reset-connection
Check and tell if its working. -
Iphone 3gs need activation after update by itune and no service
iphone 3gs need activation after update by itune and no service
what can i do ?No need to Multiple post... see your other Thread...
https://discussions.apple.com/thread/5846382?tstart=0 -
help! my iphone 4 was stucked or cannot recognize by my itunes after updating to 4.3.5? how i can open it again, it seems stucked with an itunes icon and usb on my iphone screen.
pls help me recognize my iphone4 to itunes and bring back my iphone 4 the way it was before. THANKS!Hi my iphone 4 is also having the same problem of hanging with the same screen reflected. itunes keep suggesting me to do a restore setting but it fails to restore after running half way. Have u solved your problem ardy..? Hw can i / we do about it...?
-
while trying to access my local network I get the message..."The page could not be opened because server cannot be found." This, after updating to Yosemite and paying (again) for the server app.
It's absolutley scandalous that a company with Apple's resources can let this happen. They should have staggered the release by region rather than opening the flood gates. The upgrade itself took me about 10 attempts to download it, and then I thought I was home free. That was until it rebooted and won't activate. It's over 2 hours now.
Scandalous! -
After updating to Mavericks and trying to updates for my apps I get : This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled. My apple id has always been .mac but after the update I used .me. Are these not synonymous?
Hi everyone yesterday I was experiencing the same problem I am glad to share its fixed now for me
"This issue is only related to our Apple ID and to to those specific apps which we already have on phone or had installed on phone before except for those apps which we already have in purchase history AppStore>Updates>Purchase(on iPhone) History(having cloud icon next to them) it's something related to our purchase data
*ITS NOT RELATED TO PHONE OR MAC!
*RESETTING OR UPDATING THE DEVICE WONT MAKE A DIFFERENCE!
(As in my case it was on iPhone 4 7.1.1 iPhone 5s 7.0.3 and iTunes of course )
Here is how I got it fixed
I contacted apple support via chat method and I asked about a solution giving my info.she told me that she submitted my application and in order to resolve this I should not be using my AppStore ID for any purchase for at least 30mins as doing so may not resolve the issue so I checked it after couple hours and it's fixed
(As I read in some other discussions that some people asked for solution from apple support and they told them to reset the device or so.. You may need to make your statement clear that it's appearing both on iTunes and iPhone ) -
after updating my iphone and itunes i lost all the money that i had in my account, how do i get it back?
don't know what to say
-
Firefox does not open to "maximized" after updating add-ons and performing the restart
After checking for any updates to installed add-ons and, if there should be an update(s) available, and ... after performing the download of the update(s) with a "RESTART FIREFOX" is needed ... Firefox does not restart/reopen to MAXIMIZED. I have to manually maximize Firefox.
This problem ... I suspect ... is only when I am using Windows XP Home w/SP3. This problem does not occur when I use Firefox on Ubuntu (Linux). So now, I don't know if there is a problem with Firefox using Windows XP or that the problem is with Windows XP using Firefox. In any case, I will not just do the extra clicking to maximize Firefox after updating the addons and such. Thanks anyway.
-
i updated my apple tv 3rd gen to 5.1 just...after updating my trailers and photostream icons were gone. Had to facotry reset,then sign in again...after a while icons were gone again...
First I would charge it for an hour and then:
- Have you tried resetting the iPod:
Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears
- Next would be to place the ipod n recovery mode and then try to restore it via iTunes. For recovery mode see:
http://support.apple.com/kb/HT1808 -
After updating my iphone3gs and ipod touch 4g to ios 6, the auto lock fuction doesn't work always , especially if passbook is left open in the background!
i have also restored both the devices but the problem still persists and is affecting the battery life!Same problem here, after istalling ios 6 on my iphone 4s my auto lock didnt work, but when i closed my assistive touch it worked again..I didnt have this problem in the 5.1.1 version. I dont wanna close the assistive touch tough....annoying problem !!!
Another problem occured in the settings of alarm clock. The sensivity of the on-off button is not as good as in the 5.1.1 version...
Hope they will fix this problem soon !!!
Is there anyone else who hava the same problems??
Best regards... -
So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.
anybody can help me ?So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.
anybody can help me ? -
Ive backed up my phone and restored it after updating the software and now a lot of my apps are greyed out and i cant access them via the phone interface
I can only access them via the App storeI did plug it into itunes and then backed it up to the cloud (im actually wondering if thats my problem)
then restored it from the cloud.
Maybe I should restore it from the computer (when its plugged into itunes?)
thanks sberman
Maybe you are looking for
-
ITunes 11 global view change.
Is there a way to apply artist list view globally to all playlists in iTunes 11? I've got a few hundred and don't want to change each one manually.
-
How to perform the hardware setup without the CD?
In most of the support page I read, I am finding info about drivers and computer connectivity with the printer. In many occasion, we can read a paragraph like this one: Important: Set up the HP hardware before installing the software. If you have n
-
When adding a bookmark sometimes the web page name is too long. I used to be able to use my mouse, highlight the letters/words that I don't want, then use delete to truncate the desired bookmark name. Since the latest update/upgrade, Firefox won't le
-
Writing specialized metadata to image using Javascript...
I'm working on a project where we are dumping metadata from a database into a text file and then writing it to images using javascript. As long as I use the fields listed in the Javascript reference manual, it works perfectly. However, the client has
-
I recently had a problem with the hard drive on my laptop that made it unusable. While I could get it started it would error and restart and then try (but fail) to repair itself when I tried to do anything. To try and get myself a usable system again