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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-25-2009, 04:58 PM
|
#1
|
Member
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378
Rep:
|
how to compile apt from source?
Hi,
So I am trying to get apt (the real apt) to work on Slackware, and everything seems to be going fine. I successfully installed dpkg with no trouble, but when I come to install the apt client, the configure and make go well, but I don't know how to install it. Normally it's make install, but it doesn't work here. Does anyone know how to install it once it's compiled?
Code:
root@brian-linux:/home/brian/Desktop/apt-get/apt-0.7.20.2# make install
make: *** No rule to make target `install'. Stop.
thanks,
rabbit2345
|
|
|
04-25-2009, 06:12 PM
|
#2
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
When you come accross this sort of problem, there's a few good steps to take:
(1) Look in Makefile for the string "install". See if it is actually a defined targed. If it is not, you probably needed to pass some flag to ./configure and forgot to. Or, maybe (read: almost 0% chance) there is a nonstandard install target.
(2) Read the INSTALL and README files.
(3) Post here. :-)
If (1) and (2) don't solve your problems, you can always manually setup the install. make install usually just moved the binary into /usr/bin and any libs into /usr/lib, setups sym links as appropriate etc. However, I would imagine apt has a bit more complicated install since it's sort of A Big Deal(tm).
|
|
|
04-25-2009, 08:56 PM
|
#3
|
Member
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378
Original Poster
Rep:
|
ok, So I went back to take a closer look at ./configure, and I see that it is not setting one of its variables properly. Configure apperaas to also be missing one of its files.
the first message about dot is:
Code:
checking for dot... NO
checking for dot... no
dirname: missing operand
Try `dirname --help' for more information.
What is this "dot" program? I think the script doesn't know it's missing, and it fails to set the variable.
The second error is:
Code:
checking for shared library run path origin... /bin/sh: buildlib/config.rpath: No such file or directory
done
The file doesn't even exist after running configure, I'm not sure what to do about this.
I think installing "dot" would fix the first one, and possibly the second since they are linked together.
thanks,
rabbit2345
|
|
|
04-25-2009, 09:09 PM
|
#4
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
Hey rabbit, I'm not really sure, but I would think that dot is referring to "dot.conf - A ConfigurationFile Parser Library"
see http://www.azzit.de/dotconf/ . But again, I'm not really sure.
Google says Graphviz has a legitimate "dot" application, but it makes less sense to me why that package would be needed for this. http://www.graphviz.org/
(There is no package in the Ubuntu repos (all branches) called simply "dot", btw.)
Last edited by jhwilliams; 04-25-2009 at 09:11 PM.
|
|
|
04-25-2009, 10:21 PM
|
#5
|
Member
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378
Original Poster
Rep:
|
I think I have a solution to this.
But I do need to know where the dpkg database for packages is. I don't need repo information, just installed packages. I think I can just install apt with dpkg, but I need to convert the pkgtool database into dpkg.
Or do you think it would be easier to just switch to Debian?
Last edited by rabbit2345; 04-25-2009 at 10:39 PM.
|
|
|
04-25-2009, 11:33 PM
|
#6
|
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168
|
For me, anyway, that'd probably be enough to move to Debian. You get l33t points if you can functionally use slack for sure, but you get to keep most of them moving over to Debian, anyway. Is there anything keeping you on slack? I moved from redhat/fedora to debian a few years ago and found the transition quite smooth.
|
|
|
04-26-2009, 08:04 PM
|
#7
|
Member
Registered: Apr 2007
Location: SC
Distribution: Kubuntu 20.04 LTS
Posts: 378
Original Poster
Rep:
|
Yeah, there's really nothing keeping me on Slackware, I'm going to move to Debian. I just wanted to see if I could take Slackware, but I think I'll go with something a little less intense. I heard Slackware was quite hard to manage. Thanks for your help anyway.
rabbit2345
|
|
|
All times are GMT -5. The time now is 12:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|