LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-29-2014, 03:49 PM   #1
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Rep: Reputation: Disabled
Error and failed if I want to install xcurser-themes.


hi,
I am now working on X, now I want to configure xcurser-themes and install but I get this error message when configuring it, but I have to finish it first before I can continue.

Code:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating handhelds/Makefile
config.status: creating redglass/Makefile
config.status: creating whiteglass/Makefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-static
Making all in handhelds
make[1]: Entering directory '/sources/xc/xcursor-themes-1.0.4/handhelds'
/etc/X11/bin/xcursorgen -p ../redglass ./X_cursor.cfg X_cursor
/etc/X11/bin/xcursorgen: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
Makefile:505: recipe for target 'X_cursor' failed
make[1]: *** [X_cursor] Error 127
make[1]: Leaving directory '/sources/xc/xcursor-themes-1.0.4/handhelds'
Makefile:363: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

The file "libX11.so.6" I see it in "/etc/X11/lib/", so I do not know what actually is the problem and how further.
I have X also not in the standard /usr but installed in /etc/X11 directory.
As I said before, no problems yet, how can I fix this?

I also googled the problem without success.

Best regards,
 
Old 11-29-2014, 04:40 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Why on earth are you installing libs in /etc ?, this is going to cause you so many problems, as you have already staret to find out, unless you have a REALLY good reason and know what you are doing install libs onto standard folders ie; /lib, /usr/lib, /usr/local/lib, and the 64 bit equivelents ( /lib64 etc ).

If you have installed into non standard folderz you will at least have to set up ldconfig, /etc/ld.so.conf to point to your non standard install folders, you may also have to set the include paths via CPPFLAGS/CFLAGS/LIBS etc to the configure script.
 
Old 11-29-2014, 05:21 PM   #3
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
I understand the problem, but because the book indicated that you could choose a nonstandard instalation.
Because for me the first time I just need to keep the standard principles until I know more about it, that's clear.

How can I uninstalled everything and then start again with X?

Another thing, how should actually pefix, export XORG_PREFIX = "/usr" or export XORG_PREFIX = "/usr/X11"

Best regards,
 
Old 11-29-2014, 05:27 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
In the source code folder for a particular app/lib just run
Code:
sudo make uninstall
which is the opposite of
Code:
sudo make install
This asumes that the configure is still valid.

Use
Code:
export XORG_PREFIX=/usr
 
Old 12-02-2014, 11:53 AM   #5
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
hi,
Ok, I uninstalled everything and X installed as standard in 'XORG_PREFIX=/usr'.

Now I have another problem after I installed X and drivers, at startup I have problems with my monitor.
At least for about 5 seconds and indicates: no signal. I work remotely on another machine using ssh, but look how it progresses on the monitor that is connected; otherwise I would not even have noticed.

What can I do, any idea?
Do not know if it's good, but I wanted to recompile the kernel but do not know when or needed.

Should I open another thread or is it good here?

Meanwhile see how I can configure X here on the forum.

Best regards,
 
Old 12-02-2014, 11:57 AM   #6
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 you can recompile the kernel when ever you want,
 
Old 12-02-2014, 12:37 PM   #7
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
Okay, I will. Hopefully the problem with screen than fixed!

Thanks,
 
Old 12-02-2014, 02:14 PM   #8
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hi, I re-compile the kernel and still have problems with the display.
What could be the cause of the problem, how can I fix this?
Should I compile without instrucries or is there another possibility to solve it?

Thanks
 
Old 12-02-2014, 03:01 PM   #9
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
I presume you have tried operating the pc direct not via ssh, as there might be a delay via ssh.
 
Old 12-02-2014, 03:31 PM   #10
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
That is the problem, monitor does not work after the re-compile after installing the drivers for Xorg Chapter 24 Xorg drivers.
Everything just worked up to that time, display falls just after startup.

So I can not work directly with that machine, now I can work remotely only because otherwise I can not do anything.

Thanks,
 
Old 12-03-2014, 03:53 AM   #11
Johnrg
LQ Newbie
 
Registered: Oct 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hi, everything works properly and no more problems.
I tested also X server and works fine without any problems.

I ask for help when necessary, for other significant problems.

Thanks
 
  


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
LXer: Bisigi Themes Natty PPA Updated, Install 15 Great Themes in Just 3 Steps! LXer Syndicated Linux News 0 08-01-2011 11:42 PM
Themes wont install, and system->preferences->themes is gone. snackrabbit Linux - Newbie 3 08-10-2008 02:27 AM
failed to install themes ahmed gamal Ubuntu 1 04-07-2008 03:03 PM
new core 2 duo 7.04 install error failed to alloc Peter Shepard Ubuntu 1 06-24-2007 04:02 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM

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

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