I seem to have broken my system (compiler perhaps)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I seem to have broken my system (compiler perhaps)
So Slackware 12.0, I compiled evolution and all it's dependencies from source. Took a while but I managed to do it. After that I restarted just in case (pango, gtk and lots of other things had been updated so I wanted them to be reloaded to see if they work). Pango seemed to have broken as absolutely all the text consisted only from squares. So I decided to recompile pango and then I discovered a bigger problem. I could no longer do a ./configure as I got the following error:
Code:
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.
See 'config.log' for more details.
As far as I consulted, it was thought to be a problem with the linker. I have no idea what to do or try now so I could use the help. The pango thing is probably unrelated but any help is appreciated on that subject as well.
You probably overwrote something while installing. So, mount the Slackware install CD or DVD from the CLI, and re-install some of the critical packages, I recommend all packages from 'd' and possible also 'l'. So, something like:
Code:
su <Enter root password>
mount /dev/cdrom /mnt/tmp
installpkg /mnt/tmp/slackware/d/*.tgz
installpkg /mnt/tmp/slackware/l/*.tgz
umount /dev/cdrom
eject /dev/cdrom
shutdown -r now
After the reboot, hopefully things will be back to normal.
Good idea. I reinstalled all the packages in d/ (with upgradepkg --reinstall however, didn't know if installpkg removes the previous packages) and after reboot it didn't work yet. I don't want to reinstall all the packages in l/ however as I have upgraded quite many of them (something I'm not too keen on doing again : )). Does anyone know what libraries exactly are needed by the compiler. I can say that during evolution install I upgraded glib, gnome-icon-theme, gtk+2, libgtkhtml and pango from there, could any of them be the problem? (glib is especially suspected)
No cigar. I installed Slack's default glib package but I still get the same errors on ./configure. The glib I intalled before was a svn checkout of 2.15.4.
edit: Clever so much I am. I thought that maybe installing a newer glibc would help. Then I realised I can't do it on the broken computer so I decided to make a package on the other computer and install it there. Long story short, instead of simply making a package, checkinstall overwrote something and now none of the executables on the other machine work, it doesn't even boot. This is going to take a while to fix : ).
Okay, I made progress but I still need help from you guys because I really get desorientated with all these libraries. I fixed the second system I broke with a quick reinstall. On this system I managed to make things compile by installing everything in l/glib* . It worked cause I did a make uninstall in the glib source directory I had installed before. Anyway, I reinstalled the later glib again, in /usr this time (was /usr/local/ before, that's what broke it). I'd like to go fix my pango now but I can't get to X because of a problem with a gobject lib. What package is it from, what causes the error, what should I (re|un)install?
Output of startx:
Code:
xauth: creating new authority file /home/sander/.serverauth.3204
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/gabriel:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Slackware 12.0 Slackware Linux Project
Current Operating System: Linux gabriel 2.6.24.1-laptop #1 Sun Feb 10 10:58:53 EET 2008 i686
Build Date: 09 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 19 20:09:29 2008
(==) Using config file: "/etc/X11/xorg.conf"
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
FATAL: Module wacom not found.
FATAL: Module evdev not found.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
stylus Wacom X driver grabbed event device
WACOM: press max value is wrong.
cursor Wacom X driver grabbed event device
WACOM: press max value is wrong.
/usr/bin/xfce4-session: symbol lookup error: /usr/lib/libgobject-2.0.so.0: undefined symbol: g_regex_unref
waiting for X server to shut down (EE) intel(0): I830 Vblank Pipe Setup Failed 0
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
edit: I also get the g_regex_unref error when trying for example to make pango. Is the glib still broken or is some other package to blame for not getting along with the new library?
edit2: I managed to start fluxbox but I get the aformentioned g_regex_unref error if I try to run any gtk programs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.