Linux - NewbieThis 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
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 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!
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!
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... ;-)
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.