View previous topic :: View next topic |
Author |
Message |
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Fri Jan 09, 2004 4:02 am Post subject: emerge yes; ark dont know |
|
|
Can some one tell me how to emerge a file after you download it from the internet using ark from kde. If you could just tell me the steps that would be great. It is a tar gz file phpnuke that I am trying to load to use on my server.
Thanx PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
hadfield Retired Dev
Joined: 18 Mar 2003 Posts: 308 Location: Vancouver, BC, Canada
|
Posted: Fri Jan 09, 2004 4:08 am Post subject: |
|
|
I think you'll need to make an ebuild for the file. Check out the Ebuild Howto:
http://www.gentoo.org/doc/en/gentoo-howto.xml#doc_chap2
It looks like there's a lot there, but they really aren't that difficult to make. Especially if you already have a basic understanding of bash scripting.
You'll probably need to create an ebuild and then run the 'ebuild digest' command to create an md5 sum. |
|
Back to top |
|
|
LinuxTechie n00b
Joined: 16 Dec 2003 Posts: 9 Location: Bedford, TX
|
Posted: Fri Jan 09, 2004 4:12 am Post subject: |
|
|
To my knowledge emerge is designed solely to grab and compile packages off of Gentoo's package database. If you already have the file, you should just untar/uncompress the file with "tar zxvf filename.tar.gz" and then go into the directory it creates and puts the files to and run "make" then "make install" (that is the way in most cases). Or, you can search for that package at http://packages.gentoo.org/ to find out if you can emerge it. |
|
Back to top |
|
|
SubAtomic Apprentice
Joined: 20 Dec 2003 Posts: 255 Location: Hobart, TAS, Australia
|
Posted: Fri Jan 09, 2004 4:22 am Post subject: |
|
|
LinuxTechie wrote: | To my knowledge emerge is designed solely to grab and compile packages off of Gentoo's package database. If you already have the file, you should just untar/uncompress the file with "tar zxvf filename.tar.gz" and then go into the directory it creates and puts the files to and run "make" then "make install" (that is the way in most cases). Or, you can search for that package at http://packages.gentoo.org/ to find out if you can emerge it. |
./configure first perhaps? ;-) |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Fri Jan 09, 2004 4:31 am Post subject: |
|
|
LinuxTechie wrote: | To my knowledge emerge is designed solely to grab and compile packages off of Gentoo's package database. If you already have the file, you should just untar/uncompress the file with "tar zxvf filename.tar.gz" and then go into the directory it creates and puts the files to and run "make" then "make install" (that is the way in most cases). Or, you can search for that package at http://packages.gentoo.org/ to find out if you can emerge it. |
Can you elaborate on this I did the "tar zxvf filename.tar.gz." and it did some think alot of files just flew by but now I need to now where they went to and dont understand the make part you wrote.
Thanx PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
LinuxTechie n00b
Joined: 16 Dec 2003 Posts: 9 Location: Bedford, TX
|
Posted: Fri Jan 09, 2004 5:13 am Post subject: |
|
|
SubAtomic wrote: | ./configure first perhaps? |
oops. Thanks SubAtomic
Piratetrader wrote: | Can you elaborate on this I did the "tar zxvf filename.tar.gz." and it did some think alot of files just flew by but now I need to now where they went to and dont understand the make part you wrote. |
When you do the tar zxvf filename.tar.gz command, a directory should be created inside the directory you ran the tar command from. The output it produces will tell you what directory it extracted to (it usually is the filename without the tar.gz extension). So cd to that directory and that is when you will run "./configure" (if the "configure" file exists in that directory). Then run "make", then "make install". That is how you setup and compile a program. If I wasn't clear enough, then let me know what I didn't explain good enough and I will try to do better next time |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Fri Jan 09, 2004 5:25 am Post subject: |
|
|
LinuxTechie wrote: | .... So cd to that directory and that is when you will run "./configure" (if the "configure" file exists in that directory). Then run "make", then "make install". That is how you setup and compile a program. If I wasn't clear enough, then let me know what I didn't explain good enough and I will try to do better next time |
To make this even more confusing (which hopefully you don't need), not all programs follow the configure-make-make install pattern. (Most do, but there are some notable exceptions.) I recommend reading the documentation for the file you downloaded. Hopefully, there was some clear documentation either on the site where you downloaded the file. You may also find a text file called "README" or "INSTALL" or something similar in the directory you installed, and this may provide enough to get you going.
Which application are you trying to install, by the way? Maybe we can give you some more focused guidance if we know what that is... |
|
Back to top |
|
|
|