Opened 13 years ago
Closed 13 years ago
#33642 closed defect (fixed)
avr-binutils fails to build due to wrong include path
Reported by: | bwalle (Bernhard Walle) | Owned by: | g5pw (Aljaž Srebrnič) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | g5pw (Aljaž Srebrnič) | |
Port: | avr-binutils |
Description
When installing avr-bintuils, I get following error:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/sysdep.h:173:10: fatal error: 'libintl.h' file not found #include <libintl.h> ^ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/bfdio.c:26: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/sysdep.h:173:10: fatal error: 'libintl.h' file not found #include <libintl.h> ^ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/archive.c:130: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/sysdep.h:173:10: fatal error: 'libintl.h' file not found #include <libintl.h> ^ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/archures.c:24: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avr-binutils/avr-binutils/work/binutils-2.22/bfd/sysdep.h:173:10: fatal error: 'libintl.h' file not found #include <libintl.h> ^ 1 error generated. 1 error generated.
libintl is there, but in /opt/local/include, of course.
Attachments (2)
Change History (11)
Changed 13 years ago by bwalle (Bernhard Walle)
Attachment: | config.log.tar.bz2 added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to g5pw@… |
---|
comment:2 Changed 13 years ago by g5pw (Aljaž Srebrnič)
Status: | new → assigned |
---|
Thanks for the feedback! It actually builds on my machine, I'll dig in your logs and fix asap ;)
comment:3 Changed 13 years ago by g5pw (Aljaž Srebrnič)
Could you please attach the whole main.log? Thanks!
Changed 13 years ago by bwalle (Bernhard Walle)
comment:5 Changed 13 years ago by g5pw (Aljaž Srebrnič)
Hmm... Interesting... Can you provide your OS / Xcode version? Thanks!
comment:7 Changed 13 years ago by g5pw (Aljaž Srebrnič)
Well, could you update xcode and see if the problem persists? Thank you!
comment:8 Changed 13 years ago by bwalle (Bernhard Walle)
That works indeed. Well, when I installed MacPorts a few weeks ago on Lion, the documentation explicitly mentioned that I should not use Xcode 4.3. That seems to have changed now and it works.
Thanks for the help!
comment:9 Changed 13 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Glad to hear that! I'm sorry I forced you to update, but it's simpler than to write exceptions in portfiles. It looks like Xcode 4.2's clang is ignoring che CPATH variable...
Glad to be of help!
config.log files