LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-11-2004, 09:43 AM   #1
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Rep: Reputation: 30
HELP: newbie compiling source code....


I am trying to compile Captive Linux ( http://www.jankratochvil.net/project/captive/ ) from original source 1.1.5 for Fedora Core 3. Why? Because I tried the already-compiled Captive-1.1.5 for Red Hat 9 on my Fedora Core 3. The RPM installs fine and I've copied ntfs.sys & ntoskrnl.exe files to captive folder. But when I try to mount my NTFS parition it just hangs! So this is what I've done to compile Captive for FC3:

bash-3.00# cd captive-1.1.5
bash-3.00# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
... <snip>
... <snip>
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Captive requires glib-2.0 library.
bash-3.00#

How can I check if I got glib installed? And if I do, how do I tell captive configure where it is?
HELP!
 
Old 12-11-2004, 09:52 AM   #2
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 34
rpm -qa | grep glib[^c]

check if you have glib2 and glib2-devel packages
 
Old 12-11-2004, 10:23 AM   #3
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Vookimedlo
rpm -qa | grep glib[^c]

check if you have glib2 and glib2-devel packages
Cheers man here is the output result:

glib-1.2.10-15
dbus-glib-0.22-10
glib2-2.4.8-1.fc3


What do I do now?
 
Old 12-11-2004, 10:51 AM   #4
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 34
just install this one: http://sunsite.mff.cuni.cz/OS/Linux/...1.fc3.i386.rpm

and try it again
 
Old 12-11-2004, 10:56 AM   #5
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Vookimedlo
just install this one: http://sunsite.mff.cuni.cz/OS/Linux/...1.fc3.i386.rpm

and try it again
Installing using rpm -ivh glib2... etc. yeah?
 
Old 12-13-2004, 01:10 PM   #6
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
With command rpm -qa | grep glib[^c]

I get:

glib-1.2.10-15
dbus-glib-0.22-10
glib2-2.4.8-1.fc3

I also installed http://sunsite.mff.cuni.cz/OS/Linux/...1.fc3.i386.rpm

using rpm -ivh ...

And when I configure I still get glib2 missing. ((

What does ldconfig do?
 
Old 12-13-2004, 01:16 PM   #7
kevingpo
Member
 
Registered: Nov 2004
Location: Edinburgh, UK
Distribution: Fedora Core 3
Posts: 188

Original Poster
Rep: Reputation: 30
Okay. I used ldconfig and got past glib problem. Now I got:

gnome-vfs-module-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing 'gnome-vfs-module-2.0.pc' to the PKG_CONFIG_PATH environment variable

WTF is pkg-config or the gnome-vfs-module and how can I add this?
 
  


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
RPM vs compiling from Source Code ceci2 Linux - Enterprise 4 03-15-2005 03:58 PM
Compiling Kernel and other source code davegermiquet Conectiva 2 01-26-2005 06:01 PM
compiling quake 2 source code hylke Programming 2 11-28-2004 11:02 AM
Problem in compiling source code JIV Linux - Software 1 02-14-2004 03:11 AM
Problems with compiling source code cav Linux - General 4 02-06-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:44 AM.

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