LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-21-2007, 04:21 AM   #1
HunterLoftis
LQ Newbie
 
Registered: Mar 2007
Posts: 28

Rep: Reputation: 15
"tar - filename reads nul character" when compiling gtk-gnutella 0.96.3


Still struggling with Ubuntu. What is the purpose of releasing sources which must then be recompiled per-machine instead of releasing binaries as with windows (and attaching source in case you want to modify it)? I'm sure there is a good reason, I'd just like to know the advantages of this aspect of Linux that is wearing me down.

I'm trying to install gtk-gnutella I downloaded their latest source archive and all the necessary libraries and when I attempt to compile (following the debian instructions) I get:

Code:
make[1]: Leaving directory `/home/hunter/Desktop/gtk-gnutella-0.96.3'
dh_install -s
/usr/bin/make -f debian/rules DH_OPTIONS=-a binary-common
make[1]: Entering directory `/home/hunter/Desktop/gtk-gnutella-0.96.3'
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
dh_installmenu
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `gtk-gnutella' in `../gtk-gnutella_0.96.3-0_i386.deb'.
tar: -: file name read contains nul character
make[1]: Leaving directory `/home/hunter/Desktop/gtk-gnutella-0.96.3'
hunter@hunter-laptop:~/Desktop/gtk-gnutella-0.96.3$ ls
AUTHORS           configure.gnu         install.SH   po
build-arch-stamp  cygwin                Jmakefile    README
ChangeLog         debian                LICENSE      README.Debian
config.h          doc                   Makefile     README.xmingw
config_h.SH       extra_files           Makefile.SH  scripts
config.sh         GEO_LICENSE           MANIFEST     src
config.sh.xmingw  gtk-gnutella.spec     mkdep        TODO
config-stamp      gtk-gnutella_spec.SH  MPL-1.1.txt  U
Configure         install               pixmaps
hunter@hunter-laptop:~/Desktop/gtk-gnutella-0.96.3$ sudo dpkg --install gtk-gnutella_0.96.2-0_i386.deb
dpkg: error processing gtk-gnutella_0.96.2-0_i386.deb (--install):
 cannot access archive: No such file or directory
Thanks in advance for any suggestions on how I could fix this!
 
Old 03-21-2007, 05:26 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
are you absolutely sure a pre-compiled version is not available using 'synaptic' package manager?

why source?
well, it's usually a lot smaller than a binary for a start
and of course you can change it.

There's no advantage for casual users.

Agreed it is a pain when you are not a programmer but it's easy when you know how.
 
Old 03-30-2007, 07:58 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK Hunter is gone and probably ain't listening - but for the others out there who may be trying something like this and wandered in...

Hunter is trying to install gtk-gnutella the hard way in Ubuntu. The solution to his problem is as follows:

from terminal

sudo apt-get install gtk-gnutella

from Gnome: system > administration > synaptic package manager
click "search" and enter "gnutella"
click the "gtk-gnutella" checkbox
click "apply"

(which is why instructions are almost always given for CLI)

In terms of the specific issue on hand:

I note that the working directory is the desktop - this is a bad idea. One should create a special workspace when compiling things. I have created a "projects" directory for this, other do other things. Tarballs get unpacked into this directory or a subdirectory off it for groups of tarballs in the same application. This has many advantages like allowing me to rm * without destroying anything important.

Working on the desktop is quite common in windows - but a bad idea there also. Hunter needs to start using a better directory structure or find his workspaces cluttering up.

Hunter has left vital information out of his post. He has failed to show us the command used to run make, nor has he told us which tarball he is using or where he got it from.

Looking at the make output - I see one warning and no errors. Nothing fatal was announced, so I guess the make went fine. I suspect that he forgot to run "sudo make install"... or similar, and needs to reread the README file.

The last attempted instruction failed - he attempted to install a deb package that, indeed, is not present. It would seem unlikely that the make process would create a deb package and Hunter seems to have got the debian instructions confused.

I suspect the debian instructions expected him to download the deb package instead of the tarball.

In short: hunter does not understand his distribution or the compilation process.

As for the opening question: providing source code is the feature of open source. Binaries are almost always provided as well - you need to look for them.

Hunter needed to look in:
http://easylinux.info/wiki/Ubuntu:Edgy
... for better assistance.

Looking through Hunter's threads, I see loads of replies which were largely inadequate to address his problems. It is no wonder he gave up.
 
  


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
How Can I "file_name-gtk.tar.gz" file from console? bluesky2_1986 Linux - Newbie 6 07-17-2006 11:26 AM
how do you install programs extracted from "tar.gz", "bz2", etc? shoelessworm Ubuntu 13 04-12-2006 02:24 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
getting error during "tar -xvzf filename.tar.gz" b0nd Linux - Newbie 11 04-23-2005 08:50 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:44 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