LinuxQuestions.org
Visit Jeremy's Blog.
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 04-11-2004, 11:32 PM   #1
cheesetastic
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 10

Rep: Reputation: 0
what is the default package data dir?


Ive been playing around with lin and installed me first package for gtk-gnutella 0.92.1c

did

make install /root/Des....

was fine

wanted to install another ap using diff shit, ulstimatly got this

bash-2.05b# make install /root/Desktop/mldonkey-2.5.9/
cd /root/Desktop/gtk-gnutella-0.92.1c && /root/Desktop/gtk-gnutella-0.92.1c/missing automake-1.4 --gnu Makefile
/bin/sh: line 1: cd: /root/Desktop/gtk-gnutella-0.92.1c: No such file or directory
make: *** [/root/Desktop/gtk-gnutella-0.92.1c/Makefile.in] Error 1

i said wtf???? why would it even be looking at gnutella make shit???

after pissing about for the next 5 min i finaly figured at some point it compiled or swaped my default config.h file in meh root dir. Is this normal? Did i fuck something up or is that gnutella client a twit?

finaly located the most probible source of all my problems in the config.h file

/* Define which directory should be used for package data. */
#define PACKAGE_DATA_DIR "/usr/local/share/gtk-gnutella"

I started shouting @ screen at this point

can somebody please tell me the default package data dir and if i need to do something with the config.h file after i replace this line or just save it? Or am i completly off and just fucking up in general, if so please correct meh newbness.
 
Old 04-12-2004, 12:24 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
it appears you do not have the automake package nor the directory to cd to.
are you supposed to have another tgz file with this?
look:
bash-2.05b# make install /root/Desktop/mldonkey-2.5.9/
cd /root/Desktop/gtk-gnutella-0.92.1c && /root/Desktop/gtk-gnutella-0.92.1c/missing automake-1.4 --gnu Makefile
/bin/sh: line 1: cd: /root/Desktop/gtk-gnutella-0.92.1c: No such file or directory
make: *** [/root/Desktop/gtk-gnutella-0.92.1c/Makefile.in] Error 1
 
Old 04-12-2004, 12:26 AM   #3
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
oh yeah by the way you did already do a ./configure right?
 
Old 04-12-2004, 12:29 AM   #4
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
Hmmm

I have not installed these packages from source, but normally there is a file called configure. I am guessing you want to choose where the package is installed to and I will explain how to do it in a sec.
Normally you do something like this:
Code:
./configure
make
make install
The make install installs the package to the appropriate directories on your system. For example it may install the executable mldonkey file in /usr/bin or perhaps /usr/local/bin.
If you want to change where it is going to install to you can do this by passing information to the configure:
Code:
./configure --prefix=/some_directory/you_choose
for information about what you can pass to configure type:
Code:
./configure --help
It seems that you are installing packages to you desktop for you root user. Are you running Xwindows from root? If so you should consider running it from a user account and install packages to a different directory.

Last edited by hypexr; 04-12-2004 at 12:30 AM.
 
Old 04-12-2004, 12:29 AM   #5
cheesetastic
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
is the automake package supposed to be in the mldonkeu dir? is that what the make install command does? initiate the automake? if so and i do it for mldonkey why doesnt it just give a general error command but give a command relating to a programs automake that has nothing to do with the program im trying to install. and why is

/* Define which directory should be used for package data. */
#define PACKAGE_DATA_DIR "/usr/local/share/gtk-gnutella"

set to nething gnutella related in my main config.h file?
 
Old 04-12-2004, 12:33 AM   #6
cheesetastic
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
i must be poorly understanding the nix file tree structure ./confogure --help?
please use that in an example, i know it applys to all but i dont know how it would work in an example, please give any for this type of file.
 
Old 04-12-2004, 12:56 AM   #7
cheesetastic
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
somebody please tell me...

is it ./configure /root/bleh..

how do you run the configure file?
 
Old 04-12-2004, 02:23 AM   #8
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
I just looked at mldonkey source and see that a configure file is there. Example of using configure:
to show options:
./configure --help
to set the directory that it installs the package to
./configure --prefix=/usr/local

so to install mldonkey try:
./configure
make
make install
 
Old 04-12-2004, 09:34 AM   #9
cheesetastic
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
thank you! thats what i needed, it worked.
 
  


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
MYSQL data dir android6011 Linux - Software 22 10-10-2005 09:32 PM
changing default dir of sendmail----- pal Linux - Newbie 0 09-19-2005 11:38 PM
change the default dir fro apache2 dev_mohamed Linux - Software 5 06-22-2005 01:20 PM
Default install dir? hongman Linux - Newbie 4 02-20-2005 01:07 PM
default web dir for user varala_kanth Linux - Newbie 3 06-09-2004 04:59 AM

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

All times are GMT -5. The time now is 12:43 PM.

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