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. |
Is the path to tar visible to root? If it didn't like the argument you put for tar the error it should print is like this:
tar: invalid option -- q Try `tar --help' for more information. Argument zxvf is valid though. Try putting the full path to tar. -twantrd |
Finally, I opened the tar ball.
I made an error. It was just writing xvfz. It should be -xvfz I tried to install the program using the following command. [root@h27n2fls301o1037 local]# xcdroast-0.98alpha15/INSTALL -bash: xcdroast-0.98alpha15/INSTALL: Permission denied 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. ------------------------------------------------------------------------------------------------------------------------------------------------- [root@h27n2fls301o1037 local]# tar -zxvf xcdroast-0.98alpha15.tar.gz xcdroast-0.98alpha15/ xcdroast-0.98alpha15/intl/ xcdroast-0.98alpha15/intl/ChangeLog xcdroast-0.98alpha15/intl/Makefile.in xcdroast-0.98alpha15/intl/config.charset xcdroast-0.98alpha15/intl/locale.alias xcdroast-0.98alpha15/intl/ref-add.sin xcdroast-0.98alpha15/intl/ref-del.sin xcdroast-0.98alpha15/intl/gmo.h xcdroast-0.98alpha15/intl/gettextP.h xcdroast-0.98alpha15/intl/hash-string.h xcdroast-0.98alpha15/intl/plural-exp.h xcdroast-0.98alpha15/intl/eval-plural.h xcdroast-0.98alpha15/intl/os2compat.h xcdroast-0.98alpha15/intl/libgnuintl.h xcdroast-0.98alpha15/intl/loadinfo.h xcdroast-0.98alpha15/intl/bindtextdom.c xcdroast-0.98alpha15/intl/dcgettext.c xcdroast-0.98alpha15/intl/dgettext.c xcdroast-0.98alpha15/intl/gettext.c xcdroast-0.98alpha15/intl/finddomain.c xcdroast-0.98alpha15/intl/loadmsgcat.c xcdroast-0.98alpha15/intl/localealias.c xcdroast-0.98alpha15/intl/textdomain.c xcdroast-0.98alpha15/intl/l10nflist.c xcdroast-0.98alpha15/intl/explodename.c xcdroast-0.98alpha15/intl/dcigettext.c xcdroast-0.98alpha15/intl/dcngettext.c xcdroast-0.98alpha15/intl/dngettext.c xcdroast-0.98alpha15/intl/ngettext.c xcdroast-0.98alpha15/intl/plural.y xcdroast-0.98alpha15/intl/plural-exp.c xcdroast-0.98alpha15/intl/localcharset.c xcdroast-0.98alpha15/intl/localename.c xcdroast-0.98alpha15/intl/osdep.c xcdroast-0.98alpha15/intl/os2compat.c xcdroast-0.98alpha15/intl/intl-compat.c xcdroast-0.98alpha15/intl/plural.c xcdroast-0.98alpha15/intl/VERSION xcdroast-0.98alpha15/man/ xcdroast-0.98alpha15/man/xcdroast.1 xcdroast-0.98alpha15/man/Makefile.am xcdroast-0.98alpha15/man/Makefile.in xcdroast-0.98alpha15/po/ xcdroast-0.98alpha15/po/Makefile.in.in xcdroast-0.98alpha15/po/Makevars xcdroast-0.98alpha15/po/remove-potcdate.sin xcdroast-0.98alpha15/po/quot.sed xcdroast-0.98alpha15/po/boldquot.sed xcdroast-0.98alpha15/po/en@quot.header xcdroast-0.98alpha15/po/en@boldquot.header xcdroast-0.98alpha15/po/insert-header.sin xcdroast-0.98alpha15/po/Rules-quot xcdroast-0.98alpha15/po/POTFILES.in xcdroast-0.98alpha15/po/xcdroast.pot xcdroast-0.98alpha15/po/de.po xcdroast-0.98alpha15/po/nl.po xcdroast-0.98alpha15/po/it.po xcdroast-0.98alpha15/po/fr.po xcdroast-0.98alpha15/po/hr.po xcdroast-0.98alpha15/po/sv.po xcdroast-0.98alpha15/po/da.po xcdroast-0.98alpha15/po/es.po xcdroast-0.98alpha15/po/tr.po xcdroast-0.98alpha15/po/et.po xcdroast-0.98alpha15/po/pt_BR.po xcdroast-0.98alpha15/po/ja.po xcdroast-0.98alpha15/po/ca.po xcdroast-0.98alpha15/po/cs.po xcdroast-0.98alpha15/po/hu.po xcdroast-0.98alpha15/po/ro.po xcdroast-0.98alpha15/po/zh_TW.Big5.po xcdroast-0.98alpha15/po/zh_CN.GB2312.po xcdroast-0.98alpha15/po/no.po xcdroast-0.98alpha15/po/pl.po xcdroast-0.98alpha15/po/ru.po xcdroast-0.98alpha15/po/sk.po xcdroast-0.98alpha15/po/id.po xcdroast-0.98alpha15/po/bg.po xcdroast-0.98alpha15/po/gl.po xcdroast-0.98alpha15/po/fi.po xcdroast-0.98alpha15/po/uk.po xcdroast-0.98alpha15/po/el_GR.po xcdroast-0.98alpha15/po/lv.po xcdroast-0.98alpha15/po/sq_AL.po xcdroast-0.98alpha15/po/de.gmo xcdroast-0.98alpha15/po/nl.gmo xcdroast-0.98alpha15/po/it.gmo xcdroast-0.98alpha15/po/fr.gmo xcdroast-0.98alpha15/po/hr.gmo xcdroast-0.98alpha15/po/sv.gmo xcdroast-0.98alpha15/po/da.gmo xcdroast-0.98alpha15/po/es.gmo xcdroast-0.98alpha15/po/tr.gmo xcdroast-0.98alpha15/po/et.gmo xcdroast-0.98alpha15/po/pt_BR.gmo xcdroast-0.98alpha15/po/ja.gmo xcdroast-0.98alpha15/po/ca.gmo xcdroast-0.98alpha15/po/cs.gmo xcdroast-0.98alpha15/po/hu.gmo xcdroast-0.98alpha15/po/ro.gmo xcdroast-0.98alpha15/po/zh_TW.Big5.gmo xcdroast-0.98alpha15/po/zh_CN.GB2312.gmo xcdroast-0.98alpha15/po/no.gmo xcdroast-0.98alpha15/po/pl.gmo xcdroast-0.98alpha15/po/ru.gmo xcdroast-0.98alpha15/po/sk.gmo xcdroast-0.98alpha15/po/id.gmo xcdroast-0.98alpha15/po/bg.gmo xcdroast-0.98alpha15/po/gl.gmo xcdroast-0.98alpha15/po/fi.gmo xcdroast-0.98alpha15/po/uk.gmo xcdroast-0.98alpha15/po/el_GR.gmo xcdroast-0.98alpha15/po/lv.gmo xcdroast-0.98alpha15/po/sq_AL.gmo xcdroast-0.98alpha15/po/ChangeLog xcdroast-0.98alpha15/po/LINGUAS xcdroast-0.98alpha15/README xcdroast-0.98alpha15/stamp-h.in xcdroast-0.98alpha15/ABOUT-NLS xcdroast-0.98alpha15/AUTHORS xcdroast-0.98alpha15/COPYING xcdroast-0.98alpha15/ChangeLog xcdroast-0.98alpha15/INSTALL xcdroast-0.98alpha15/Makefile.am xcdroast-0.98alpha15/Makefile.in xcdroast-0.98alpha15/NEWS xcdroast-0.98alpha15/acinclude.m4 xcdroast-0.98alpha15/aclocal.m4 xcdroast-0.98alpha15/compile xcdroast-0.98alpha15/config.guess xcdroast-0.98alpha15/config.h.in xcdroast-0.98alpha15/config.sub xcdroast-0.98alpha15/configure xcdroast-0.98alpha15/configure.in xcdroast-0.98alpha15/depcomp xcdroast-0.98alpha15/install-sh xcdroast-0.98alpha15/missing xcdroast-0.98alpha15/mkinstalldirs xcdroast-0.98alpha15/config.rpath xcdroast-0.98alpha15/xpms/ xcdroast-0.98alpha15/xpms/disc_eject.xpm xcdroast-0.98alpha15/xpms/disc_load.xpm xcdroast-0.98alpha15/xpms/filesmall.xpm xcdroast-0.98alpha15/xpms/masteradd.xpm xcdroast-0.98alpha15/xpms/masterdel.xpm xcdroast-0.98alpha15/xpms/miniaudio.xpm xcdroast-0.98alpha15/xpms/minidata.xpm xcdroast-0.98alpha15/xpms/mininoaudio.xpm xcdroast-0.98alpha15/xpms/mininodata.xpm xcdroast-0.98alpha15/xpms/minitoc.xpm xcdroast-0.98alpha15/xpms/ico_cdrom.xpm xcdroast-0.98alpha15/xpms/ico_cdwriter.xpm xcdroast-0.98alpha15/xpms/ico_dvdrom.xpm xcdroast-0.98alpha15/xpms/ico_dvdwriter.xpm xcdroast-0.98alpha15/xpms/snd_mixer.xpm xcdroast-0.98alpha15/xpms/snd_next.xpm xcdroast-0.98alpha15/xpms/snd_pause.xpm xcdroast-0.98alpha15/xpms/snd_play.xpm xcdroast-0.98alpha15/xpms/snd_prev.xpm xcdroast-0.98alpha15/xpms/snd_quit.xpm xcdroast-0.98alpha15/xpms/snd_stop.xpm xcdroast-0.98alpha15/xpms/treefolderclosed.xpm xcdroast-0.98alpha15/xpms/treefolderopen.xpm xcdroast-0.98alpha15/xpms/xcdricon.xpm xcdroast-0.98alpha15/lib/ xcdroast-0.98alpha15/lib/icons/ xcdroast-0.98alpha15/lib/icons/dialog_default.png xcdroast-0.98alpha15/lib/icons/dialog_error.png xcdroast-0.98alpha15/lib/icons/dialog_information.png xcdroast-0.98alpha15/lib/icons/dialog_question.png xcdroast-0.98alpha15/lib/icons/dialog_warning.png xcdroast-0.98alpha15/lib/icons/cddblogo.gif xcdroast-0.98alpha15/lib/icons/xcdrlogo.gif xcdroast-0.98alpha15/lib/icons/xcdricon.gif xcdroast-0.98alpha15/lib/icons/burnproof.gif xcdroast-0.98alpha15/lib/icons/xcdricon.png xcdroast-0.98alpha15/lib/sound/ xcdroast-0.98alpha15/lib/sound/test.wav xcdroast-0.98alpha15/doc/ xcdroast-0.98alpha15/doc/FAQ xcdroast-0.98alpha15/doc/README.AIX xcdroast-0.98alpha15/doc/README.atapi xcdroast-0.98alpha15/doc/README.HPUX xcdroast-0.98alpha15/doc/README.MacOSX xcdroast-0.98alpha15/doc/README.nonroot xcdroast-0.98alpha15/doc/README.ProDVD xcdroast-0.98alpha15/doc/README.setup-bulgarian.html xcdroast-0.98alpha15/doc/DOCUMENTATION xcdroast-0.98alpha15/doc/TRANSLATION.HOWTO xcdroast-0.98alpha15/doc/manual/ xcdroast-0.98alpha15/doc/manual/README.txt xcdroast-0.98alpha15/doc/manual/xcdroast-manual.pdf xcdroast-0.98alpha15/extra/ xcdroast-0.98alpha15/extra/xcdroast.desktop xcdroast-0.98alpha15/extra/xcdroast.spec xcdroast-0.98alpha15/extra/xcdroast-gtk2.spec xcdroast-0.98alpha15/contrib/ xcdroast-0.98alpha15/contrib/roast-dinner.sh xcdroast-0.98alpha15/contrib/xcd2xm.pl xcdroast-0.98alpha15/contrib/xm2cd.pl xcdroast-0.98alpha15/contrib/solaris/ xcdroast-0.98alpha15/contrib/solaris/vold_start.c xcdroast-0.98alpha15/contrib/solaris/vold_stop.c xcdroast-0.98alpha15/contrib/solaris/README.txt xcdroast-0.98alpha15/contrib/README.txt xcdroast-0.98alpha15/m4/ xcdroast-0.98alpha15/m4/ChangeLog xcdroast-0.98alpha15/m4/Makefile.am xcdroast-0.98alpha15/m4/Makefile.in xcdroast-0.98alpha15/m4/codeset.m4 xcdroast-0.98alpha15/m4/gettext.m4 xcdroast-0.98alpha15/m4/glibc21.m4 xcdroast-0.98alpha15/m4/iconv.m4 xcdroast-0.98alpha15/m4/intdiv0.m4 xcdroast-0.98alpha15/m4/inttypes.m4 xcdroast-0.98alpha15/m4/inttypes_h.m4 xcdroast-0.98alpha15/m4/inttypes-pri.m4 xcdroast-0.98alpha15/m4/isc-posix.m4 xcdroast-0.98alpha15/m4/lcmessage.m4 xcdroast-0.98alpha15/m4/lib-ld.m4 xcdroast-0.98alpha15/m4/lib-link.m4 xcdroast-0.98alpha15/m4/lib-prefix.m4 xcdroast-0.98alpha15/m4/progtest.m4 xcdroast-0.98alpha15/m4/stdint_h.m4 xcdroast-0.98alpha15/m4/uintmax_t.m4 xcdroast-0.98alpha15/m4/ulonglong.m4 xcdroast-0.98alpha15/src/ xcdroast-0.98alpha15/src/Makefile.am xcdroast-0.98alpha15/src/Makefile.in xcdroast-0.98alpha15/src/alloca.c xcdroast-0.98alpha15/src/cddbtool.c xcdroast-0.98alpha15/src/tools.c xcdroast-0.98alpha15/src/largefile.h xcdroast-0.98alpha15/src/xcdroast.h xcdroast-0.98alpha15/src/xcdrdata.h xcdroast-0.98alpha15/src/main.h xcdroast-0.98alpha15/src/rmtool.c xcdroast-0.98alpha15/src/vrfytool.c xcdroast-0.98alpha15/src/wavplay.c xcdroast-0.98alpha15/src/wav_id.c xcdroast-0.98alpha15/src/main.c xcdroast-0.98alpha15/src/init.c xcdroast-0.98alpha15/src/xtools.c xcdroast-0.98alpha15/src/menus.c xcdroast-0.98alpha15/src/setup.c xcdroast-0.98alpha15/src/io.c xcdroast-0.98alpha15/src/duplicate.c xcdroast-0.98alpha15/src/wav_frontend.c xcdroast-0.98alpha15/src/create.c xcdroast-0.98alpha15/src/language.h xcdroast-0.98alpha15/src/gettext.h xcdroast-0.98alpha15/src/xcdrwrap.c |
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 OR [root@gaurav xmms-1.2.10]# /usr/local/bin/xmms ---------- regards |
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. |
before you do this
Code:
$./configure Code:
less INSTALL |
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. |
hi there
what i mentioned was that u make a directory where u want to try out all this so make a directory mkdir /plugins then copy ur source .tar.bz2 file there and cd /plugins and carry on as i have written earlier regards |
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 --------------------------------------------------------------------------------------------- Our friend perfect_circle asked me to run this B command. Why it didn't work? Please help me. |
Masand and Perfect_cirlcle helped me a lot. Still I have problems to install this program.
This tarball is a program to burn and copy CDs. The name of the tar ball is xcdroast-0.98alpha15.tar.gz. If you read the reply of the Perfect_circle, you will read the following: $make{/B] The above doesn't work. I don't know what is the meaning of /B here. He asked to run the command $./configure. This worked fine Please help me. I need urgent help. So please help me. |
hi there
u need to run only make /B was tag which was there to show the text in bold after "make" run make install regards |
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 regards |
its urpmi
http://speculation.org/garrick/urpmifaq.txt try urpmi xcdroast and i think it is pretty there in ur CD so u do not need to install the tar archive for this package regards regards |
All times are GMT -5. The time now is 08:22 PM. |