From: Gary Schaps <gschaps@sbcglobal.net>
To: insight@sourceware.org
Subject: Insight Build Problem on RedHat EL4 U3 EM64T
Date: Fri, 08 Sep 2006 23:12:00 -0000 [thread overview]
Message-ID: <20060908231226.47660.qmail@web82407.mail.mud.yahoo.com> (raw)
Summary:
tk build either (1) rejects 32-bit X11 library it finds in /usr/X11R6/lib, or (2) can't find X11 library in after makefile is changed to /usr/X11R6/lib64
Symptom:
gcc -c -g -O2 -Wall -Wconversion -Wno-implicit-int -fPIC -I/home/gschaps/src/insight-6.5/tk/unix -I/home/gschaps/src/insight-6.5/tk/unix/../generic -I/home/gschaps/src/insight-6.5/tk/unix/../bitmaps -I/home/gschaps/src/insight-6.5/tcl/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DSTATIC_BUILD=1 -DPEEK_XCLOSEIM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED /home/gschaps/src/insight-6.5/tk/unix/tkAppInit.c
gcc tkAppInit.o \
-L/home/gschaps/src/insight-6.5/tk/unix -ltk8.4 \
-L/home/gschaps/src/insight-6.5/tcl/unix -ltcl8.4 -L/usr/X11R6/lib64 -lX11 -ldl -lieee -lm -Wl,-rpath,/usr/local/lib:/usr/X11R6/lib64 -o wish
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/bin/ld: cannot find -lX11
Fixes Tried:
upgraded automake 1.9.2 -> 1.9.6 (autoconf is 2.59)
ran configure "--enable-64bit"
manually changed /tk/unix/Makefile ...
instances of "/usr/X11R6/lib" changed to "/usr/X11R6/lib64"
passed "-rpath-link,/usr/X11R6/lib64" to ld
manually changed instances of "/usr/X11R6/lib" to "/usr/X11R6/lib64" in /tk/unix/tkConfig.sh
Any suggestions will be appreciated.
Thanks.
Gary Schaps
reply other threads:[~2006-09-08 23:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060908231226.47660.qmail@web82407.mail.mud.yahoo.com \
--to=gschaps@sbcglobal.net \
--cc=insight@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).