Opened 15 years ago
Closed 14 years ago
#23961 closed defect (worksforme)
Problem installing tk +universal
Reported by: | fayfilmer@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | tk |
Description (last modified by mf2k (Frank Schima))
Trying to install gtk2 and encountered the following error,
ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccWy2slf.out (No such file or directory) make: *** [libtk8.5.dylib] Error 1 Error: The following dependencies failed to build: atk gtk-doc gnome-doc-utils py26-libxml2 python26 tk rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman jasper pango shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXdamage xorg-damageproto Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
Full output is attached
Attachments (1)
Change History (9)
Changed 15 years ago by fayfilmer@…
Attachment: | Report.rtf added |
---|
comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)
Milestone: | MacPorts 1.8.3 |
---|---|
Owner: | changed from macports-tickets@… to nox@… |
comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)
Keywords: | gtk2 removed |
---|---|
Port: | gtk2 added |
comment:3 Changed 15 years ago by fayfilmer@…
That generated this error:
ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmpccGPEWZZ.out (No such file or directory) make: * [libtk8.5.dylib] Error 1
Error: The following dependencies failed to build: atk gtk-doc gnome-doc-utils py26-libxml2 python26 tk rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman jasper pango shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXdamage xorg-damageproto Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
comment:4 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from nox@… to mww@… |
---|---|
Port: | tk added; gtk2 removed |
According to the attached log. The problem was building tk. So when you clean you need to clean that port.
sudo port clean tk sudo port install tk
comment:5 Changed 15 years ago by mf2k (Frank Schima)
Summary: | Problem installing gtk2 → Problem installing tk +universal |
---|
It also looks like you are trying to build universal which is important to mention.
comment:6 Changed 15 years ago by fayfilmer@…
I cleaned the port and ran install, got this error,
sudo port install tk ---> Computing dependencies for tk ---> Fetching tk ---> Verifying checksum(s) for tk ---> Extracting tk ---> Configuring tk ---> Building tk Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix" && /usr/bin/make -j2 all " returned error 2 Command output: _GetTkFontAttributes in tkUnixRFont.o
_GetTkFontAttributes in tkUnixRFont.o _GetTkFontAttributes in tkUnixRFont.o _InitFont in tkUnixRFont.o
"_FcPatternAddBool", referenced from:
_TkpGetFontFromAttributes in tkUnixRFont.o
"_XftDrawGlyphFontSpec", referenced from:
_Tk_DrawChars in tkUnixRFont.o _Tk_DrawChars in tkUnixRFont.o
"_XftFontClose", referenced from:
_FinishedWithFont in tkUnixRFont.o
"_FcPatternAddInteger", referenced from:
_TkpGetFontFromAttributes in tkUnixRFont.o _TkpGetFontFromAttributes in tkUnixRFont.o _TkpGetFontFromAttributes in tkUnixRFont.o
"_FcPatternCreate", referenced from:
_TkpGetFontFromAttributes in tkUnixRFont.o
"_FcPatternAddDouble", referenced from:
_TkpGetFontFromAttributes in tkUnixRFont.o _TkpGetFontFromAttributes in tkUnixRFont.o
"_XftFontOpenPattern", referenced from:
_GetFont in tkUnixRFont.o
"_XftCharIndex", referenced from:
_Tk_DrawChars in tkUnixRFont.o
"_FcConfigSubstitute", referenced from:
_InitFont in tkUnixRFont.o
ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmpccc1nOHy.out (No such file or directory) make: * [libtk8.5.dylib] Error 1
So cleaned again and ran it with dflag, got this error
ld: symbol(s) not found collect2: ld returned 1 exit status lipo: can't open input file: /var/tmpccuuL9Qw.out (No such file or directory) make: * [libtk8.5.dylib] Error 1
Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
comment:7 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:8 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't reproduce, probably missing archs in dependencies.
Please run clean and try the build again with the -d (debug) flag.