LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2004, 06:09 PM   #1
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Can't re-install synaptic in FC2


I got all used to using synaptic for my system updates, but it no longer worked after my upgrade to FC2. So, I downloaded the recent version, and this is what I get when I try to install:

[root@localhost jeff]# cd synaptic-0.48.2
[root@localhost synaptic-0.48.2]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/jeff/synaptic-0.48.2/missing: Unknown `--run' option
Try `/home/jeff/synaptic-0.48.2/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... ar pt_BR es fr de tr zh_CN zh_HK zh_TW ru nl ja be it_IT pl cs hu da sr sr@Latn
checking for intltool >= 0.23... 0.30 found
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0, libglade-2.0 >= 2.0.0, pango >= 1.0.0, glib-2.0... Package libglade-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglade-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found

checking RPM version... checking rpm/rpmlib.h usability... no
checking rpm/rpmlib.h presence... no
checking for rpm/rpmlib.h... no
checking for rpm/rpmlib.h... (cached) no
"RPM version is none"
checking for --enable-scripts... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for libintl.h... (cached) yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking how to run the C++ preprocessor... g++ -E
checking apt-pkg/configuration.h usability... no
checking apt-pkg/configuration.h presence... no
checking for apt-pkg/configuration.h... no
configure: error: You need the apt-pkg headers installed to compile synaptic.


It used to stop at the error for not fiding libglade-2.0, but I did a locate and it is in /usr/lib, so I edited the configure file a little (NO idea what I'm doing, but I just LOVE to screw around like that) and got it to get past that error. However, I can't get around the apt-pkg header error, and I konw I probably shouldn't be "editing" around these anyways.

So, anybody feel up to helping me through this? I can't seem to find and install the apt-pkg headers, and I suppose if you're able I'd like to know what is up with it not finding libglade-2.0 as well.

I was really kicking myself for bothering with the upgrade from FC1 to FC2, but slowly I'm getting things up and running. But synaptic would REALLy help me get stuff installed and updated...hence it would help this entire process along...

PLEASE help...

Sorry for so many posts lately folks. I'm getting burned out with all this troubleshooting!

Thanks,

Jeff
 
Old 06-08-2004, 06:24 PM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi jeffreybluml,
Get the apt devel packages for fedora 2, this should rid you from the apt error.

If hacking the configure file helped you with "libglade-2.0" there is nothing wrong with that. However, it would have probably been easier to do what the install suggested: "add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable". This means you need to set the global variable PKG_CONFIG_PATH to include /usr/lib:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib
This command will export the PKG_CONFIG_PATH variable to contain the contents of the previous setting ($PKG_CONFIG_PATH) and the directory /usr/lib.

Still, I encourage you to learn as much you can about all kinds of files (experimenting is great). The more you enjoy this the better.

Feel free to ask questions! This is what the community is here for. Contribution is a good thing!

- drowstar

edit:
I just noticed this:
Quote:
/home/jeff/synaptic-0.48.2/missing: Unknown `--run' option
Try `/home/jeff/synaptic-0.48.2/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
Weird! It is looking for a script called "missing" in the synaptic source directory. Not that weird yet, but then it reports that this script does not support the "--run" option, which is all the more weird, because if it is in the source directory (which it obviously is) then it came with the sources and should therefore be of a specific version.
Anyway, in case it still does not work and you cant figure out, why, it might be a good idea to have a look at this script also. If you cant make sense of it, post the content.
Good luck!

Last edited by drowstar; 06-08-2004 at 06:32 PM.
 
Old 06-08-2004, 07:05 PM   #3
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
drowstar,

Thank you for your assistance here!

Successfully installed the rpm to which you pointed me. THANK YOU!

I even ran the export command you suggested (this knowledge comes with time, right? I had no idea how to do that) and "successfully" installed synaptic. During the install, however, it still gave the error regarding libglade. Why? When I entered the export command (which I did while in the synaptic directory) it returned immediately, so I figured it worked...

Now the important part; I can't seem to find/run synaptic!!

I type "synaptic" at the prompt, and of course it gives me "command not found." I do have all the usual paths in my bash shell, so just for the heck of it I did an updatedb and then tried a "locate synaptic." It returned a whole load of stuff, way too much to post here, but all of which were in the /home/jeff/synaptic-0.48.2 directory from which I installed. Is it safe to assume something went wrong and it is not installed?

What do I do next? I hate when I need hand-holding, but I think I do...

Again, THANK YOU for the assistance...

Jeff
The Minnesota guy who drives his wife nuts by spending way too much time on the computer... ;-)
 
Old 06-08-2004, 09:00 PM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
Okay, so I fianlly just went and downloaded the rpm for it, synaptic-0.48.2-2.1.fc2.dag.i386.rpm (I assume that's correct), and in seemed to install just fine. However, when I try to start it it gives me:

synaptic: error while loading shared libraries: librpm-4.2.so: cannot open shared object file: No such file or directory
Broken pipe

Nice.
Locate gives me:

[jeff@localhost jeff]$ locate librpm
/usr/lib/librpm-4.3.so
/usr/lib/librpmdb-4.3.so
/usr/lib/librpmio-4.3.so
/usr/lib/librpmbuild-4.3.so

Do I need to back off to the 4.2, or install it as well, or find a different version of synaptic (though I doubt that's it)?

Please advise
 
Old 06-09-2004, 07:46 AM   #5
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
^Bump

Any thoughts on this? Still haven't managed to get working. In fact, I've uninstalled it all together now, as well as apt, and cannot get apt re-installed now. I'll try again when I'm at home later, and post the output from rpm -Uvh apt-devel-0.5........

Otherwise, any ideas regarding the previous message?
 
  


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
help me install synaptic xiongnu Linux - Software 2 06-08-2005 09:14 PM
Synaptic Install Log? QuatMosk Linux - Software 1 03-04-2005 06:32 AM
Dual boot XP/FC2 probs aftter FC2 install - "cannot find operating system" bcal Fedora - Installation 4 01-30-2005 03:38 PM
FC2 & Synaptic Dirty_Ink Fedora 2 06-01-2004 12:28 AM
what does it mean when synaptic won't install bosewicht Linux - Newbie 3 12-26-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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