Re: [newbie] tar.gz files
On Sunday 12 Sep 2004 12:54 am, JoeHill wrote: On Sun, 12 Sep 2004 01:41:34 +0200 Thereidos disseminated the following: Wherever you downloaded the file to, yes. So, say you downloaded Planner to /home/john/downloads, you would 'cd' to that dir, then do as advised above. *Then* 'cd planner-0.12.1', ./configure --prefix=/usr, make, su to root, and make install. I'd rather suggest : #su -c make install (without # but with all quotes) rather than su'ing to root My standard line is now: sudo checkinstall make install sudo is identical in effect to su -c, but requires your user password rather than root, and if you do it again within five minutes it doesn't ask for the password again. checkinstall means that you can uninstall the package with the urpmi suite. cause it is quite possible to simply forget that you're running as root and do something you could regret. It happened to me couple of times before... Good recommendation, and yes, I've, uh, had some problems with that before too. One reason that my root terminal sessions have red backgrounds. But, of course, not su'd sessions. -- Richard Urwin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
Thanks for the response. So, in summary: 1. tar -xvzf planner-0.12.1.tar.gz 2. cd planner-0.12.1 3. ./configure --prefix=/usr Following message received at the end of this step== configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. 4. make Got the following error message at this point== make: *** No targets specified and no makefile found. Stop. 5. su enter root pass when prompted 6. make install Thanks again for assistance. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
W licie z nie, 12-09-2004, godz. 12:51, john pisze: 3. ./configure --prefix=/usr Following message received at the end of this step== configure: error: C++ preprocessor /lib/cpp fails sanity check See `config.log' for more details. Paste here couple of last lines from config.log (it's in your planner directory). Or simply attach the file if others wouldn't mind. 4. make Got the following error message at this point== make: *** No targets specified and no makefile found. Stop. If configure is not finished make won't work. 5. su enter root pass when prompted 6. make install Thanks again for assistance. John -- Cezary 'Thereidos' Morga [EMAIL PROTECTED] Registered Linux User No. 362185 http://counter.li.org GG# 169903 ICQ# 328-700-565 Jabber: [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
W licie z nie, 12-09-2004, godz. 11:01, Richard Urwin pisze: My standard line is now: sudo checkinstall make install sudo is identical in effect to su -c, but requires your user password rather than root, and if you do it again within five minutes it doesn't ask for the password again. Gotta try it out. Thanks... checkinstall means that you can uninstall the package with the urpmi suite. So the files installed with checkinstall can be used to satisfy urpmi's dependencies? I'm currently trying to learn how to build my own rpms. One reason that my root terminal sessions have red backgrounds. But, of course, not su'd sessions. My root sessions have yellow backgrounds but then again - not the su'd ones. -- Cezary 'Thereidos' Morga [EMAIL PROTECTED] Registered Linux User No. 362185 http://counter.li.org GG# 169903 ICQ# 328-700-565 Jabber: [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
Thanks for response Paste here couple of last lines from config.log (it's in your planner directory). Or simply attach the file if others wouldn't mind. #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE planner #define PACKAGE_BUGREPORT #define PACKAGE_NAME #define PACKAGE_STRING #define PACKAGE_TARNAME #define PACKAGE_VERSION #define STDC_HEADERS 1 #define VERSION 0.12.1 #endif #ifdef __cplusplus void exit (int); configure: exit 1 John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
One reason that my root terminal sessions have red backgrounds. But, of course, not su'd sessions. My root sessions have yellow backgrounds but then again - not the su'd ones. You can change the color of the prompt itself. I put this into my .bashrc for root: if test $(tty | grep -c /dev/pts/) != 0 ; then# if in X11 PS1=\[\033]0;ROOT IN \W\007\]\[\033[31m\]ROOT in \W * else # if in text mode, there is no title PS1=\[\033[31m\]ROOT in \W * fi This way the prompt shows up red and has ROOT in it. I use another color if i am ssh'd into my user account on the 2nd machine. eric -- Mandrake HowTo's More: http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
W licie z nie, 12-09-2004, godz. 15:56, Eric Huff pisze: You can change the color of the prompt itself. I put this into my .bashrc for root: if test $(tty | grep -c /dev/pts/) != 0 ; then# if in X11 PS1=\[\033]0;ROOT IN \W\007\]\[\033[31m\]ROOT in \W * else # if in text mode, there is no title PS1=\[\033[31m\]ROOT in \W * fi This way the prompt shows up red and has ROOT in it. I use another color if i am ssh'd into my user account on the 2nd machine. That's a good one. Thanks!! -- Cezary 'Thereidos' Morga [EMAIL PROTECTED] Registered Linux User No. 362185 http://counter.li.org GG# 169903 ICQ# 328-700-565 Jabber: [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
Hello I'm back again on the tar file. I am trying to install planner-0.12.1.tar.gz. I have a few questions on the process as indicated in Stephen's reply. Generally, you download the tar.gz files to a particular dir, then in a which directory or does it matter? term, type: tar -xvzf filename.tar.gz or tar -xjvf filename.tar.bz2 Is this done from within the download directory? ...then cd into the subdirectory, and then probably: ./configure --prefix=/usr --prefix??=/usr Not sure what this means--recommend prefix. Usr--my name or does this refer to usr directory. make su (password) is there a particular directory to change to? make install ...and you should have a compiled binary after that. -- stephen kuhn - proprietor Thanks for your replies and assistance. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Sat, 11 Sep 2004 18:07:42 -0400 john disseminated the following: tar -xvzf filename.tar.gz or tar -xjvf filename.tar.bz2 Is this done from within the download directory? Wherever you downloaded the file to, yes. So, say you downloaded Planner to /home/john/downloads, you would 'cd' to that dir, then do as advised above. *Then* 'cd planner-0.12.1', ./configure --prefix=/usr, make, su to root, and make install. --prefix??=/usr Not sure what this means--recommend prefix. Usr--my name or does this refer to usr directory. Doing './configure --prefix=/usr' just makes it so that the application is installed to the /usr directory. Most source packages default to /usr/local. Nothing to do with your username. is there a particular directory to change to? You want to do all of these things (./configure, make, make install) inside the directory created when you did 'tar -xvzf planner-0.12.1.tar.gz'. Do an 'ls', and you should see a directory called 'planner-0.12.1'. That's where you want to be. So, in summary: 1. tar -xvzf planner-0.12.1.tar.gz 2. cd planner-0.12.1 3. ./configure --prefix=/usr 4. make 5. su enter root pass when prompted 6. make install -- JoeHill RLU #282046 / www.freeyourmachine.org 18:26:02 up 38 days, 18:11, 6 users, load average: 1.34, 1.24, 1.21 +++ When the going gets weird, the weird turn pro. -- Hunter S. Thompson Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
W licie z nie, 12-09-2004, godz. 00:39, JoeHill pisze: Wherever you downloaded the file to, yes. So, say you downloaded Planner to /home/john/downloads, you would 'cd' to that dir, then do as advised above. *Then* 'cd planner-0.12.1', ./configure --prefix=/usr, make, su to root, and make install. I'd rather suggest : #su -c make install (without # but with all quotes) rather than su'ing to root cause it is quite possible to simply forget that you're running as root and do something you could regret. It happened to me couple of times before... -- Cezary 'Thereidos' Morga [EMAIL PROTECTED] Registered Linux User No. 362185 http://counter.li.org GG# 169903 ICQ# 328-700-565 Jabber: [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Sun, 12 Sep 2004 01:41:34 +0200 Thereidos disseminated the following: Wherever you downloaded the file to, yes. So, say you downloaded Planner to /home/john/downloads, you would 'cd' to that dir, then do as advised above. *Then* 'cd planner-0.12.1', ./configure --prefix=/usr, make, su to root, and make install. I'd rather suggest : #su -c make install (without # but with all quotes) rather than su'ing to root cause it is quite possible to simply forget that you're running as root and do something you could regret. It happened to me couple of times before... Good recommendation, and yes, I've, uh, had some problems with that before too. -- JoeHill RLU #282046 / www.freeyourmachine.org 19:52:58 up 38 days, 19:38, 6 users, load average: 1.36, 1.34, 1.29 +++ Permit me to issue and control the money of a nation, and I care not who makes its laws. -- Amschel Mayer Rothschild, banker Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
JoeHill wrote: On Mon, 06 Sep 2004 20:13:30 -0400 Lanman disseminated the following: Do the './configure' and let us know how it goes. What is the application you are intending to install, if I might ask? Joe; You may have misunderstood John. He seems to be looking for a good source of information where he can learn how to install tar.gz files, not a good location to learn how to install source files that are compressed into tar.gz files. You mean like a Slackware package? Perhaps...we'll see when he replies, I suppose. Hello Thanks for the responses. I would like to install mozilla sunbird and the updated version of Planner. I am looking for a manual or tutorial to use. I have been using mandrake for about a year now and have learned to do various things as they came up. I guess you might say that i am at the tarball stage now. I like to study the manuals and try to work it out for myself. If I run into problems then I get with list. This has become a hobby for me. Again thanks for the responses. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Tue, 07 Sep 2004 04:18:53 -0400 john disseminated the following: Thanks for the responses. I would like to install mozilla sunbird and the updated version of Planner. I am looking for a manual or tutorial to use. With packages that come as a tarball, I would rely more on the documentation that comes with the package. In particular, look for files called INSTALL and README (go figure). In the case of the Mozilla browser, IIRC, you just run an 'install' script, similar to how you would do it on that other OS. I'm not aware of any specific tutorials, but you could try google.com/linux. The problem with that approach is that there are such a variety of ways and means of installation when you are dealing with tarballs that one or two tutorials simply wouldn't cover it all, or would be superfluous given the documentation that comes with most such packages. I have been using mandrake for about a year now and have learned to do various things as they came up. I guess you might say that i am at the tarball stage now. I like to study the manuals and try to work it out for myself. Good for you! It's sometimes nice to be able to run the latest and greatest without always relying on someone to build an RPM, or run something that no one has bothered to make an RPM for, though that's getting rare with people like Charles around ;-) In general, the ./configure, make, make install routine is...well...pretty routine, although as Stephen pointed out, you may want to use this switch with the configure script: '--prefix=/usr', as Mandrake tends to package things this way with its RPM's and it works better if everything is consistent. Many source packages install to some other dir like /usr/local or whatever, and Mandrake may not 'like' that. And hey, if it doesn't work, there's always 'make uninstall' and start over, no? If I run into problems then I get with list. I think that's your best bet :-) You'll learn more through trial and error (it's fairly uncommon to 'break' anything, unless you try to install some critical system library from source, but it doesn't sound like you are aiming in that direction yet) and bouncing questions off people on the list who've been there before. -- JoeHill RLU #282046 / www.freeyourmachine.org 17:15:55 up 34 days, 17:01, 11 users, load average: 1.68, 1.49, 1.29 +++ The Chretien government's decision not to enter the Iraq war is a defining moment in Canada's foreign-policy history. It is now supported, according to a recent CBC poll, by a staggering 79 per cent of the population. -- Globe and Mail, June 3, 2004 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] tar.gz files
Hello Need help finding a good info. source for installing tar files, simpler the better. I am using md10 desktop. Thanks in advance. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Mon, 06 Sep 2004 19:48:34 -0400 john disseminated the following: Need help finding a good info. source for installing tar files, simpler the better. I am using md10 desktop. Thanks in advance. In general, if you are installing an app from source, just: tar -xzvf filename.tar.gz then 'cd' into the resulting directory, the source directory. Now in most cases it is a simple matter of './configure', then 'make' then as root 'make install'. *Most times*. Check './configure --help' for options to pass to the configure script, like enabling certain functionality, changing the default install directory, etc. Of course, this all assumes you have the necessary build tools like GCC, and development libraries with the appropriate header files... Do the './configure' and let us know how it goes. What is the application you are intending to install, if I might ask? -- JoeHill RLU #282046 / www.freeyourmachine.org 19:59:21 up 33 days, 19:44, 10 users, load average: 1.43, 1.29, 1.35 +++ One of the most dangerous errors of our time is the belief that human beings are uniquely violent animals, barely restrained from committing atrocities on each other by the constraints of ethics, religion, and the state. -- Eric S. Raymond Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
JoeHill wrote: On Mon, 06 Sep 2004 19:48:34 -0400 john disseminated the following: Need help finding a good info. source for installing tar files, simpler the better. I am using md10 desktop. Thanks in advance. In general, if you are installing an app from source, just: tar -xzvf filename.tar.gz then 'cd' into the resulting directory, the source directory. Now in most cases it is a simple matter of './configure', then 'make' then as root 'make install'. *Most times*. Check './configure --help' for options to pass to the configure script, like enabling certain functionality, changing the default install directory, etc. Of course, this all assumes you have the necessary build tools like GCC, and development libraries with the appropriate header files... Do the './configure' and let us know how it goes. What is the application you are intending to install, if I might ask? Joe; You may have misunderstood John. He seems to be looking for a good source of information where he can learn how to install tar.gz files, not a good location to learn how to install source files that are compressed into tar.gz files. Lanman Registered Linux User #190712 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
john wrote: Hello Need help finding a good info. source for installing tar files, simpler the better. I am using md10 desktop. Thanks in advance. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com just type man tar on the console.I think this will help to you. eylem Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Tue, 2004-09-07 at 09:48, john wrote: Hello Need help finding a good info. source for installing tar files, simpler the better. I am using md10 desktop. Thanks in advance. John Generally, you download the tar.gz files to a particular dir, then in a term, type: tar -xvzf filename.tar.gz or tar -xjvf filename.tar.bz2 ...then cd into the subdirectory, and then probably: ./configure --prefix=/usr make su (password) make install ...and you should have a compiled binary after that. -- stephen kuhn - proprietor __ illawarra computer services :: a kuhn media australia venture http://kma.0catch.com :: mobile 0410.728.389 Serving Sydney, The Illawarra, South Coast and Rural NSW __ * This message was composed on a 100% Microsoft free computer * We expressly refuse to utilise Microsoft DRM encoded documents __ Mandrake GNU/Linux 10.0 OE/Kernel 2.6.3-7/ No Viruses here. I don't want to achieve immortality through my work. I want to achieve immortality through not dying. -- Woody Allen Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Monday 06 September 2004 18:48, john wrote: Hello Need help finding a good info. source for installing tar files, simpler the better. I am using md10 desktop. Thanks in advance. John Sorry about this 'man tar'. -- Regards; Hoyt Registered Linux User #363264 http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] tar.gz files
On Mon, 06 Sep 2004 20:13:30 -0400 Lanman disseminated the following: Do the './configure' and let us know how it goes. What is the application you are intending to install, if I might ask? Joe; You may have misunderstood John. He seems to be looking for a good source of information where he can learn how to install tar.gz files, not a good location to learn how to install source files that are compressed into tar.gz files. You mean like a Slackware package? Perhaps...we'll see when he replies, I suppose. -- JoeHill RLU #282046 / www.freeyourmachine.org 20:31:51 up 33 days, 20:17, 10 users, load average: 1.41, 1.31, 1.34 +++ When you give food to the poor, they call you a saint. When you ask why the poor have no food, they call you a communist. -- Archbishop Helder Camara Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] .tar.gz files
I keep seeing everyone putting '-xvfz'. That's never worked for me. I always use 'xvfz', with no '-'. I typed '-xvfz' by mistake once, and I The problem is that the z is after the f - I would think that it would be a problem. Sure enough, tar thinks I am able to open a file named 'z'. GNU doesn't want people using a leading '-'. I figure that's for political reasons. Other commands need a '-' for options. Consider if you omit the '-' on 'ls -l' you get 'l: no such file or directory.' Why try to get people to omit the '-' when using tar? Long (--) options are nice, but they take too much typing. Bill Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com