Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge yes; ark dont know
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Piratetrader
Apprentice
Apprentice


Joined: 25 Dec 2003
Posts: 156
Location: Wasilla, Alaska

PostPosted: Fri Jan 09, 2004 4:02 am    Post subject: emerge yes; ark dont know Reply with quote

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
View user's profile Send private message
hadfield
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 308
Location: Vancouver, BC, Canada

PostPosted: Fri Jan 09, 2004 4:08 am    Post subject: Reply with quote

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
View user's profile Send private message
LinuxTechie
n00b
n00b


Joined: 16 Dec 2003
Posts: 9
Location: Bedford, TX

PostPosted: Fri Jan 09, 2004 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
SubAtomic
Apprentice
Apprentice


Joined: 20 Dec 2003
Posts: 255
Location: Hobart, TAS, Australia

PostPosted: Fri Jan 09, 2004 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Piratetrader
Apprentice
Apprentice


Joined: 25 Dec 2003
Posts: 156
Location: Wasilla, Alaska

PostPosted: Fri Jan 09, 2004 4:31 am    Post subject: Reply with quote

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
View user's profile Send private message
LinuxTechie
n00b
n00b


Joined: 16 Dec 2003
Posts: 9
Location: Bedford, TX

PostPosted: Fri Jan 09, 2004 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message
elzbal
Guru
Guru


Joined: 31 Aug 2002
Posts: 364
Location: Seattle, WA, USA

PostPosted: Fri Jan 09, 2004 5:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum