Opened 14 years ago
Closed 14 years ago
#25651 closed defect (fixed)
"sudo port install root" fails
Reported by: | thomas.phillips@… | Owned by: | mattiafrancescomoro@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | root |
Description (last modified by mf2k (Frank Schima))
---> Building root[[BR]] Error: Target org.macports.build returned: shell command failed[[BR]] Log for root is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/main.log
log file is attached
Note: this is a fresh install of MacPorts on a fairly fresh install of Snow Leopard
Attachments (2)
Change History (9)
Changed 14 years ago by thomas.phillips@…
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to mattiafrancescomoro@… |
---|
Please remember to cc the maintainer.
comment:2 Changed 14 years ago by michaelld (Michael Dickens)
Key error -- looks like a library dependency isn't specified:
:info:build Compiling XrdSysTimer.cc :info:build /usr/bin/g++-4.2 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_REENTRANT -D_GNU_SOURCE -Wall -D__macos__ -Wno-deprecated -undefined dynamic_lookup -multiply_defined suppress -O2 -DXrdDEBUG=0 -DHAVE_STRLCPY -DHAVE_LIBZ -I. -I.. XrdSysTimer.cc -o ../../obj/XrdSysTimer.o :info:build g++ -O2 -m64 -o bin/root rootx/src/rootx.o rootx/src/rootxx.o -L/opt/local/lib -lXpm -L/opt/local/lib -lXext -lX11 -L/opt/local/lib -lXft :info:build ld: library not found for -lXft :info:build collect2: ld returned 1 exit status :info:build make: *** [bin/root] Error 1
comment:3 Changed 14 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 Changed 14 years ago by mattiafrancescomoro@…
Could you please compile root using make -j1 and report the log?
Thank you in advance.
comment:5 follow-up: 7 Changed 14 years ago by nerdling (Jeremy Lavergne)
Xft isn't in the dependency chain for this port. It's likely the culprit.
comment:6 Changed 14 years ago by thomas.phillips@…
The attached file main_j1.log is the output from:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/work/root
sudo /usr/bin/make -j1 all CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 F77= &>~/Scratch/main_j1.log
comment:7 Changed 14 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
main.log (some lines removed to get size below 1MB)