Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Rep:
I can't open the tar ball and install the program
First I downloaded a file from the Internet.
The name of the tar ball is -> xcdroast-0.98alpha15.tar.gz
This file is a program to copy or burn cds.
Then I logged on to as a root user.
You usually install programs on to the /usr/local
So I moved onto the local folder
-----------------------------------------------------------------------------------------------------------------
I just wrote the ls command to verify the contents of the local folder
[root@h27n2fls301o1037 local]# ls
bin/ etc/ Firfox-installation/ include/ libexec/ share/ xcdroast-0.98alpha15.tar.gz
-----------------------------------------------------------------------------------------------------------------
[root@h27n2fls301o1037 local]# $tar xvfz xcdroast-0.98alpha15.tar.gz
-bash: xvfz: command not found
As you see the tar ball didn't expand as I expected. 'what is the reason? Could you please help me?
It says xvfz command not found. This has no meaning.
After the expansion, it created a lot files. The above was the only install file. Why didn't it work? Please help me.
The following is the long list of files it created after the expansion.
-------------------------------------------------------------------------------------------------------------------------------------------------
this is an extract from the doc. om linux user group
-----------
Source packages generally come in 2 compressed formats
xmms-1.2.10.tar.bz2 --compressed with bunzip(bzip)
xmms-1.2.10.tar.gz --compressed with gunzip(gzip)
and others also
1.)first of all we need to extract these packages .
so copy the packages in your Linux partition. for example in /plugins directory.
go to that directory and extract them as follows
[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xjf xmms-1.2.10.tar.bz2
[root@gaurav plugins]#
OR
[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xvzf xmms-1.2.10.tar.gz
[root@gaurav plugins]#
here we pass the arguments
xjf --for uncompressing packages of the type (.tar.bz2)
xvzf --for uncompressing packages of the type (.tar.gz)
more on these attributes can be found by
[root@gaurav root]# man tar
if the packages are in some another format then u can extract them also by
a.)copy the package in your Linux partition
b.)Right click on the package
c.)choose extract here
this method surely takes some time more that the command line version but if you are having any problems in extracting with the command line then u may proceed in this manner
2.)after packages have been extracted then u need to compile them and then install these.
you can go through a file Readme or INSTALL
in all the install readme files you will find the procedure for installing source packages
I am briefing the procedure down here
a.) go to the directory containing the extracted packages
[root@gaurav root]# cd /plugins/xmms-1.2.10
[root@gaurav xmms-1.2.10]#
b.) './configure' will check if the files necessary for installation are available or not
[root@gaurav xmms-1.2.10]# ./configure
c.)' make' will compile the package
[root@gaurav xmms-1.2.10]# make
d.)'make install' will install the executable in '/usr/local/bin' (generally)
after these you can run your new packages by their name only or by giving the full path
[root@gaurav xmms-1.2.10]# xmms
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
I thank masand for the reply. His explanation is too advanced for my knowledge of linux.
It seems I don't have a folder called plugins. I am using Mandrake Linux 10.0 version
Look at the following:
[root@h27n2fls301o1037 root]# cd /plugins
-bash: cd: /plugins: No such file or directory
[root@h27n2fls301o1037 root]# cd /plugins/
-bash: cd: /plugins/: No such file or directory
I just copied the downloaded file into the local directory. This is in turn a subdirectory under usr directory. It is my understanding that you install programs in /usr/local.
/usr/local
However, I have given you the entire bunch of directories I got after the expansion. I don't know how to go ahead.
$tar -xvzf xcdroast-0.98alpha15.tar.gz <- uncompress the file
$cd xcdroast-0.98alpha15 <- enter the folder
$./configure <- run the configure script
$make <- compile the source
$make install <- install the program (if you get errors in the compilation step don'tproceed)
$cd .. <- go to the previous folder
$rm -fr xcdroast-0.98alpha15 <- delete the uncompressed folder (you don't need it any more)
$mv xcdroast-0.98alpha15.tar.gz <somewhere where you kkep your setups> <- move the tar ball somewhere where you keep your setups
the program will be installed where the makefile wants, moving the source in a specific directory is pointless.
Last edited by perfect_circle; 12-04-2004 at 05:11 AM.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
Thanks perfect_circle
I am reading all your instructions to understand every step you wanted to execute. I will do it and come back to you. This might take a several hours.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
The following command was successful
$./configure
The following is the output:
--------------------------------------------
[heden@h27n2fls301o1037 xcdroast-0.98alpha15]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gethostname... yes
checking for mkdir... yes
checking for select... yes
checking for socketpair... yes
checking for socket... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for setenv... yes
checking for unsetenv... yes
checking for setreuid... yes
checking for seteuid... yes
checking for glib-config... no
checking for GLIB - version >= 1.2.3... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.
--------------------------------------------------------------------------------------------------------------
Then I ran the make {/B} command. It didn't work. The following is the output
------------------------------------------------------------------------------------------
[heden@h27n2fls301o1037 xcdroast-0.98alpha15]$ $make{/B]
bash: {/B]: No such file or directory
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
Masand, thanks for the reply. I ran the make command and the following is the output.
-------------------------------------------------------------------------------------
[heden@h27n2fls301o1037 xcdroast-0.98alpha15]$ make
make: *** No targets specified and no makefile found. Stop.
----------------------------------------------------------------------------------------
Why didn't the make command gave me this strange answer?
hey and it looks from ur configure script that u do not have glibc installed
for mandrake there is a command
i do not know it exaclty
urmpi glibc
or
urmfi glibc
this will install glibc autonatically and ask for CDs from u as of required
and also try this command for ur xcdroast
maybe it might be bundled alomg with ur distro CD
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.