[MacPorts] #30192: apr 1.4.5 fails to build
#30192: apr 1.4.5 fails to build ----------------------------------+----------------------------------------- Reporter: mramiragha@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Hi, From what I can see stdio.h is not found when trying to compile a conftest.c. Log files are attached. Regards, Amir -- Ticket URL: <https://trac.macports.org/ticket/30192> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30192: apr 1.4.5: stdio.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: mramiragha@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: lion | Port: apr ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * keywords: => lion * owner: macports-tickets@… => dluke@… * port: => apr Old description:
Hi,
From what I can see stdio.h is not found when trying to compile a conftest.c. Log files are attached.
Regards, Amir
New description: Hi, From what I can see stdio.h is not found when trying to compile a conftest.c. Log files are attached. Regards, [[br]] Amir -- Comment: 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? -- Ticket URL: <https://trac.macports.org/ticket/30192#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30192: apr 1.4.5: stdio.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: mramiragha@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: lion | Port: apr ----------------------------------+----------------------------------------- Comment(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 -- Ticket URL: <https://trac.macports.org/ticket/30192#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30192: apr 1.4.5: stdio.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: mramiragha@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: lion | Port: apr ----------------------------------+----------------------------------------- Comment(by dluke@…): Replying to [comment:2 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. -- Ticket URL: <https://trac.macports.org/ticket/30192#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30192: apr 1.4.5: stdio.h: No such file or directory -----------------------------------+---------------------------------------- Reporter: mramiragha@… | Owner: dluke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: lion Port: apr | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: Others who had this sort of problem hadn't actually installed Xcode, just downloaded the installer from the app store. -- Ticket URL: <https://trac.macports.org/ticket/30192#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts