LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-17-2010, 12:57 PM   #1
fdt93
LQ Newbie
 
Registered: Apr 2005
Distribution: LFS 9.1 / BLFS 9.1
Posts: 17

Rep: Reputation: 1
Question CBLFS multilib: error in configure script for xterm (Xorg7)


I'm almost done compiling Xorg7 according to the CBLFS instructions, but I'm stuck at a problem with xterm.

my XORG_PREFIX is /opt/X11R7

I have the necessary path variables set properly, and this has all worked fine through the Xorg build process.

When I configure xterm with the following command:

USE_ARCH=64 CC="gcc ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure ${XORG_CONFIG64} --enable-wide-chars \
--with-app-defaults=${XORG_PREFIX}/share/X11/app-defaults

the configure process fails with the following:
checking if you want to link with Xaw 3d library... no
checking if you want to link with neXT Athena library... no
checking if you want to link with Athena-Plus library... no
checking for XextCreateExtension in -lXext... no
checking for X11/Xaw/SimpleMenu.h... yes
checking for XawSimpleMenuAddGlobalActions in -lXaw -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw -lXpm -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw_s -lXmu_s... no
checking for -lXaw -lXmu in /usr/contrib/X11R6... no
checking for -lXaw -lXpm -lXmu in /usr/contrib/X11R6... no
checking for -lXaw_s -lXmu_s in /usr/contrib/X11R6... no
checking for -lXaw -lXmu in /usr/contrib/X11R5... no
checking for -lXaw -lXpm -lXmu in /usr/contrib/X11R5... no
checking for -lXaw_s -lXmu_s in /usr/contrib/X11R5... no
checking for -lXaw -lXmu in /usr/lib/X11R5... no
checking for -lXaw -lXpm -lXmu in /usr/lib/X11R5... no
checking for -lXaw_s -lXmu_s in /usr/lib/X11R5... no
checking for -lXaw -lXmu in /usr/local... no
checking for -lXaw -lXpm -lXmu in /usr/local... no
checking for -lXaw_s -lXmu_s in /usr/local... no
configure: error: Unable to successfully link Athena library (-lXaw) with test program

The configure script refuses to look for the necessary libraries in the proper path. I'm passing the ${XORG_CONFIG64} paths (which are: --prefix=/opt/X11R7 --libdir=/opt/X11R7/lib64 --sysconfdir=/etc --localstatedir=/var), but configure is only looking in /usr/lib/X11R5 and R6, etc.

I even skipped ahead to the "Configure X" page and created the FHS symlinks:
ln -sv ${XORG_PREFIX}/bin /usr/bin/X11
ln -sv ${XORG_PREFIX}/include/X11 /usr/include/X11
ln -sv ${XORG_PREFIX}/lib/X11 /usr/lib/X11
ln -sv ${XORG_PREFIX}/lib32/X11 /usr/lib32/X11
ln -sv ${XORG_PREFIX}/lib64/X11 /usr/lib64/X11
since my Xorg install was not in /usr. But, this did not help.

is there a patch I'm missing that fixes configure for xterm so it will look in the right place?
 
Old 02-18-2010, 01:43 PM   #2
fdt93
LQ Newbie
 
Registered: Apr 2005
Distribution: LFS 9.1 / BLFS 9.1
Posts: 17

Original Poster
Rep: Reputation: 1
I have not found a fix for this yet, but I did download and build RXVT instead.

I was able to get a simple X server running with the example clock and RXVT terminal.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack64 multilib: Xfe "configure error: libFOX-1.6 not found" Compile this Slackware 6 09-16-2009 07:06 PM
How to configure Xterm colors if my xterm can support 256 colors n179911 Linux - Software 4 07-06-2009 03:28 AM
CLFS/CBLFS on same partion as CentOS5 shivkiyer Linux From Scratch 2 10-10-2007 01:16 AM
Error with xdm's configure script and missing pkg-config files julz_51 Linux - Software 0 02-22-2006 10:55 AM
configure the xterm alaios Linux - Software 7 05-27-2004 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration