Opened 13 years ago
Closed 13 years ago
#30192 closed defect (worksforme)
apr 1.4.5: stdio.h: No such file or directory
Reported by: | mramiragha@… | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | lion | Cc: | |
Port: | apr |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi,
From what I can see stdio.h is not found when trying to compile a conftest.c. Log files are attached.
Regards,
Amir
Attachments (2)
Change History (6)
Changed 13 years ago by mramiragha@…
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | lion added |
Owner: | changed from macports-tickets@… to dluke@… |
Port: | apr added |
Summary: | apr 1.4.5 fails to build → apr 1.4.5: stdio.h: No such file or directory |
A-ha: you're on Lion using llvm-gcc-4.2. That might be relevant.
On the other hand, why is stdio.h not found? It ought to be in /usr/include. Is it?
comment:2 follow-up: 3 Changed 13 years ago by mramiragha@…
I'm really surprised. There is no /usr/include anymore!?!
iMac:~ amir$ ls -al /usr/include ls: /usr/include: No such file or directory
I have to check with others who are on Lion if their /usr/include also disappeared. I googled a bit but couldn't find anything. This is all I got, hope it helps:
iMac:~ amir$ sudo find / -name stdio.h Password: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/tr1/stdio.h /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/usr/include/c++/4.2.1/tr1/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/usr/include/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/usr/include/c++/4.2.1/tr1/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/usr/include/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/tr1/stdio.h /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/stdio.h /Developer/SDKs/MacOSX10.5.sdk/usr/include/stdio.h /Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/tr1/stdio.h /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdio.h /opt/local/include/gcc43/c++/tr1/stdio.h /opt/local/include/gcc44/c++/tr1/stdio.h /opt/local/lib/gcc43/gcc/x86_64-apple-darwin10/4.3.5/include/ssp/stdio.h /opt/local/lib/gcc44/gcc/x86_64-apple-darwin10/4.4.6/include/ssp/stdio.h /opt/local/var/macports/software/gcc43/4.3.5_0/opt/local/include/gcc43/c++/tr1/stdio.h /opt/local/var/macports/software/gcc43/4.3.5_0/opt/local/lib/gcc43/gcc/x86_64-apple-darwin10/4.3.5/include/ssp/stdio.h /opt/local/var/macports/software/gcc43/4.3.5_1/opt/local/include/gcc43/c++/tr1/stdio.h /opt/local/var/macports/software/gcc43/4.3.5_1/opt/local/lib/gcc43/gcc/x86_64-apple-darwin10/4.3.5/include/ssp/stdio.h /opt/local/var/macports/software/gcc43/4.3.5_2/opt/local/include/gcc43/c++/tr1/stdio.h /opt/local/var/macports/software/gcc43/4.3.5_2/opt/local/lib/gcc43/gcc/x86_64-apple-darwin10/4.3.5/include/ssp/stdio.h /opt/local/var/macports/software/gcc44/4.4.4_1/opt/local/include/gcc44/c++/tr1/stdio.h /opt/local/var/macports/software/gcc44/4.4.4_1/opt/local/lib/gcc44/gcc/x86_64-apple-darwin10/4.4.4/include/ssp/stdio.h /opt/local/var/macports/software/gcc44/4.4.4_2/opt/local/include/gcc44/c++/tr1/stdio.h /opt/local/var/macports/software/gcc44/4.4.4_2/opt/local/lib/gcc44/gcc/x86_64-apple-darwin10/4.4.4/include/ssp/stdio.h /opt/local/var/macports/software/gcc44/4.4.5_0/opt/local/include/gcc44/c++/tr1/stdio.h /opt/local/var/macports/software/gcc44/4.4.5_0/opt/local/lib/gcc44/gcc/x86_64-apple-darwin10/4.4.5/include/ssp/stdio.h /opt/local/var/macports/software/gcc44/4.4.6_0/opt/local/include/gcc44/c++/tr1/stdio.h /opt/local/var/macports/software/gcc44/4.4.6_0/opt/local/lib/gcc44/gcc/x86_64-apple-darwin10/4.4.6/include/ssp/stdio.h
comment:3 Changed 13 years ago by danielluke (Daniel J. Luke)
Replying to mramiragha@…:
I'm really surprised. There is no /usr/include anymore!?!
I seriously doubt it.
iMac:~ amir$ ls -al /usr/include ls: /usr/include: No such file or directory
I have to check with others who are on Lion if their /usr/include also disappeared. I googled a bit but couldn't find anything.
Maybe you're just missing some optional package that's part of the OS install or developer tools? (Something equivalent to the BSD SDK on previous OS releases?)
I don't have Lion (and probably couldn't talk about it if I did), so I probably can't be of much help.
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Others who had this sort of problem hadn't actually installed Xcode, just downloaded the installer from the app store.
main.log