LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-10-2018, 09:33 AM   #1
Nobutarou
Member
 
Registered: May 2017
Posts: 43

Rep: Reputation: Disabled
libXt-1.1.5 build error: /usr/libICE.la: No such file or directory


I meet an error during make. It looked for /usr/libICE.la, of course, libICE.la is not in the dir. I attach the all standard output and error output during make.

Do you know why make looked at the wrong dir?

Code:
/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing  -DXFILESEARCHPATHDEFAULT=\"/etc/X11/%L/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S:/usr/share/X11/%L/%T/%N%C%S:/usr/share/X11/%l/%T/%N%C%S:/usr/share/X11/%T/%N%C%S:/usr/share/X11/%L/%T/%N%S:/usr/share/X11/%l/%T/%N%S:/usr/share/X11/%T/%N%S:/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S\" -DERRORDB=\"/usr/share/X11/XtErrorDB\" -DMALLOC_0_RETURNS_NULL -DXTMALLOC_BC -DLIBXT_COMPILATION -march=native -O2 -ftree-vectorize -pipe -version-number 6:0:0 -no-undefined  -o libXt.la -rpath /usr/lib ActionHook.lo Alloc.lo ArgList.lo Callback.lo ClickTime.lo Composite.lo Constraint.lo Convert.lo Converters.lo Core.lo Create.lo Destroy.lo Display.lo Error.lo Event.lo EventUtil.lo Functions.lo GCManager.lo Geometry.lo GetActKey.lo GetResList.lo GetValues.lo HookObj.lo Hooks.lo Initialize.lo Intrinsic.lo Keyboard.lo Manage.lo NextEvent.lo Object.lo PassivGrab.lo Pointer.lo Popup.lo PopupCB.lo RectObj.lo ResConfig.lo Resources.lo Selection.lo SetSens.lo SetValues.lo SetWMCW.lo Shell.lo TMaction.lo TMgrab.lo TMkey.lo TMparse.lo TMprint.lo TMstate.lo Threads.lo VarCreate.lo VarGet.lo Varargs.lo Vendor.lo sharedlib.lo StringDefs.lo -lSM -lICE -lX11 
/bin/grep: /usr/libICE.la: No such file or directory
/bin/sed: can't read /usr/libICE.la: No such file or directory
libtool: link: `/usr/libICE.la' is not a valid libtool archive
make[3]: *** [Makefile:531: libXt.la] Error 1
make[3]: Leaving directory '/sources/xc/lib/libXt-1.1.5/src'
make[2]: *** [Makefile:461: all] Error 2
make[2]: Leaving directory '/sources/xc/lib/libXt-1.1.5/src'
make[1]: *** [Makefile:515: all-recursive] Error 1
make[1]: Leaving directory '/sources/xc/lib/libXt-1.1.5'
make: *** [Makefile:424: all] Error 2
Attached Files
File Type: log makelog.log (207.9 KB, 21 views)
 
Old 03-10-2018, 11:44 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Did libICE-1.0.9 get get downloaded with Xorg Libaries, If it did try reinstalling the xorg libaries again.
If it didn't get download go get and reinstall libaries

Last edited by spiky0011; 03-10-2018 at 11:47 AM.
 
Old 03-11-2018, 05:32 AM   #3
Nobutarou
Member
 
Registered: May 2017
Posts: 43

Original Poster
Rep: Reputation: Disabled
Hi,

I checked all xorg libs which were installed before libXt. I found the wrong path in /usr/lib/libSM.la. I installed libSM again and then the path was fixed. I could build libXt. Because I manually follow the xorg lib build instead of "for" script written in the book, I might have misstook.

Thank you,
 
  


Reply



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
[SOLVED] trying to build mate file manager:error: /usr/lib/.libs/libgnuintl.so: No such file t_shit Linux - Newbie 2 08-06-2012 10:22 AM
[SOLVED] bash: /usr/local/bin/xdsi: /usr/bin/wish: bad interpreter: No such file or directory Berwhale Linux - Newbie 2 09-15-2011 02:59 PM
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. Mr_Shameless *BSD 4 05-16-2008 08:43 AM
Error in man command "sh: line 1: /usr/bin/gtbl: No such file or directory" MinA Slackware 1 09-06-2004 06:36 PM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

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

All times are GMT -5. The time now is 11:44 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