#32561 closed defect (fixed)
gtk1: build fails with clang
Reported by: | mlewis1973 | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | fheday@…, ryandesign (Ryan Carsten Schmidt) |
Port: | gtk1 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
same problem as Ticket #21135 (closed defect: fixed)
sudo port -v install gtk1 ... checking for X... no
sudo port -v install xorg-libXt
does not fix problem
Attachments (3)
Change History (15)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 13 years ago by mlewis1973
Attachment: | config.log added |
---|
Changed 13 years ago by mlewis1973
comment:3 Changed 13 years ago by mlewis1973
Changed 13 years ago by mlewis1973
Attachment: | main.2.log added |
---|
comment:5 Changed 13 years ago by mlewis1973
Replying to ryandesign@…:
Does r88077 help?
that solved the config problem with X........ a problem with linking (probably similar solution) then arises. see main.2.log
*** Warning: This library needs some functionality provided by -lX11. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it.
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | clang added |
Resolution: | → fixed |
Status: | new → closed |
Summary: | gtk1 configure error on Lion with MacPorts 2.0.3 → gtk1: build fails with clang |
I'm going to assume using llvm-gcc-4.2 instead of clang will fix this, as it did for glib1. Made this change in r88465. Please re-open if not fixed.
comment:8 follow-up: 9 Changed 13 years ago by mlewis1973
r88465 worked!
I had to make the same change to the Portfiles for:
gtkglarea
fsv
comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:10 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Please try to actually fix the problems rather than just using old compilers.
comment:11 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Really fixed this time with r91180
comment:12 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Note: See
TracTickets for help on using
tickets.
Please attach the config.log.