Opened 11 years ago
Closed 7 years ago
#41401 closed defect (wontfix)
root @5.34.11: configure: libX11 MUST be installed (on 10.5 PPC)
Reported by: | donald_y_smith@… | Owned by: | cjones051073 (Chris Jones) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | leopard | Cc: | mattiafrancescomoro@…, mojca (Mojca Miklavec), ryandesign (Ryan Carsten Schmidt) |
Port: | root5 |
Description
In fact there are two problems.
- one is the libX11 not found, so port couldn't be compiled. I googled it and found for gnuplot had the same problem and they fixed it on Nov 2.
- I set my gcc as llvm-gcc42. But the configuration didn't use it. It always use the one with Xcode, and the same time the port gfortran will be used.
I attached the log file. You can find the lines.
Thanks a lot.
Attachments (1)
Change History (13)
Changed 11 years ago by donald_y_smith@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jonesc@… added; donald_y_smith@… removed |
---|---|
Keywords: | configure failed removed |
Owner: | changed from macports-tickets@… to mattiafrancescomoro@… |
Summary: | root @5.34.11 (science) no libX11 found for configuration → root @5.34.11: configure: libX11 MUST be installed |
Replying to donald_y_smith@…:
In fact there are two problems.
- one is the libX11 not found, so port couldn't be compiled. I googled it and found for gnuplot had the same problem and they fixed it on Nov 2.
This is curious, since xorg-libX11 is definitely listed as a dependency of root.
- I set my gcc as llvm-gcc42. But the configuration didn't use it. It always use the one with Xcode, and the same time the port gfortran will be used.
It is intentional that MacPorts ports use a compiler that MacPorts selects, not the compiler you select for your own use on the command line.
comment:2 Changed 11 years ago by cjones051073 (Chris Jones)
Indeed.
For 1., the dependency is already defined, so I don't understand the configure error (they build fine in the buildbots for instance, which start from a clean empty environment). The build log also shows lib-X11 was checked and installed...
For 2., this is intentional.
Chris
comment:3 Changed 11 years ago by cjones051073 (Chris Jones)
I just double checked, and the configure step that failed for the OP is checking for a library that is supplied by the xorg-libX11 port, which ROOT lists as a dependency. So nothing wrong from the ROOT side there.
So the only thing I can think of is installing gnuplot triggered something (revbump rebuild etc. ...) that fixed some secondary issue with his X11 lib. Unless he can post exactly what he ran, and all that was printed by it, it might be difficult to know what he actually did that fixed things... Just saying "it was fixed when I installed gnuplot" is not much use...
comment:5 Changed 11 years ago by mojca (Mojca Miklavec)
I'm also curious to know what exactly has been fixed in gnuplot. I don't remember any change on November 2nd.
So unless the issue is better clarified, it's hard to tell what exactly is going on.
Then again I would like to point out that the log is from a 10.5 PowerPC. It might make sense to also check and upload config.log
as well to see why X11 wasn't found:
:error:configure Failed to configure root, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/work/root/config.log
as stated in the main.log
.
Please test this with 5.34.12.
comment:6 Changed 11 years ago by donald_y_smith@…
Thanks a lot.
I am quite sure I found the similar configuration error for gnuplot when I googled last time. But this time I spent couple of hours and I couldn't find it anymore.
But I still find a similar(or exactly the same) error from root port, it is #31260
It was a two-year old ticket. I am using a ppc mac 10.5. Maybe it is the same reason of universal format problem.
I can compile root directly without macport and run it to load xquartz automatically. So I think my lib should be good.
I tried 5.34.12 and got the same log file.
Have a good holiday.
comment:7 Changed 11 years ago by cjones051073 (Chris Jones)
Please post a log of what you get from the ./configure step when you build ROOT by hand. My bet is it is then using the XQuartz provided X11 libraries, whereas the MacPorts build (intentionally) forces the use of the MacPorts X11 libraries. I don't have access to anything other than OSX10.9 systems, so I'm afraid I cannot debug this myself.
Please also post what you get with the command
> port installed xorg-server xorg-libX11
Chris
comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
On my Leopard i386 system, I can get through the configure phase, but not the build phase (see #41644).
Please attach the config.log so we can see what happened on your system.
comment:9 Changed 10 years ago by mojca (Mojca Miklavec)
Keywords: | leopard added |
---|---|
Port: | root5 added; root removed |
Summary: | root @5.34.11: configure: libX11 MUST be installed → root @5.34.11: configure: libX11 MUST be installed (on 10.5 PPC) |
Version: | 2.2.1 |
comment:10 Changed 10 years ago by mojca (Mojca Miklavec)
Cc: | mattiafrancescomoro@… added; jonesc@… removed |
---|---|
Owner: | changed from mattiafrancescomoro@… to jonesc@… |
comment:11 Changed 7 years ago by cjones051073 (Chris Jones)
Closing this old ticket. PPC is no longer really supported by root5.
comment:12 Changed 7 years ago by cjones051073 (Chris Jones)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
log file for port install