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. |
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 |
oh yeah by the way you did already do a ./configure right?
|
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 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 Code:
./configure --help |
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? |
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. |
somebody please tell me...
is it ./configure /root/bleh.. how do you run the configure file? |
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 |
thank you! thats what i needed, it worked.
|
All times are GMT -5. The time now is 06:05 PM. |