PDA

View Full Version : [ubuntu] ./configure: no such file or directory



iocustheoda
March 8th, 2009, 08:21 AM
Hi guys,

I tried to install a tar.gz. at first, I extract( tar -zxvf). Done.

When I used ./configure, it came out: no such file or directory.


Can someone tell me what should I do?




p/s: In KDE there has Kompile. Is there any Kompile alternative for Gnome, because I seem to be unable to use it in Gnome.

pfdevil
March 8th, 2009, 08:24 AM
maybe you should run make first.

iocustheoda
March 8th, 2009, 08:29 AM
If I write:


1. make
=
no such file or directory

2. make dazukofs-3.0.0/test/lib/Makefile
=
make: Nothing to be done for `dazukofs-3.0.0/test/lib/Makefile'.

3.dazukofs-3.0.0/test/lib/Makefile make
=
bash: dazukofs-3.0.0/test/lib/Makefile: Permission denied

pfdevil
March 8th, 2009, 08:32 AM
Not all *.tar.gz is installable. Remember it is only a archive. Check if your missing something.

iocustheoda
March 8th, 2009, 08:46 AM
pfdevil

Not all *.tar.gz is installable. Remember it is only a archive. Check if your missing something.

How to check if I don't know what am I finding? How do I know if something is missing?

my file is dazukofs-3.0.0.tar.gz

anapob
March 8th, 2009, 08:50 AM
I think u need to go to that directory and ./configure it.

type pwd it prints the working directory. then travel to the directory where you extracted the contents of tar.gz.

pfdevil
March 8th, 2009, 08:50 AM
Were any installation instructions giving?

Or find a different file that may be used as ./configure.

Or maybe everything is compiled all ready and you only need to execute it.

scragar
March 8th, 2009, 09:03 AM
I think u need to go to that directory and ./configure it.

type pwd it prints the working directory. then travel to the directory where you extracted the contents of tar.gz.

Right idea here, you've not said if you cd'd to the directory, so that's the first thing to check, just because it's such an easy thing to check. Secondly thing to check would be to enquire about the contents of the folder, find out what type of contents it has, rather than anything else.

And why has no-one mentioned:

sudo apt-get install build-essentialif someone sounds to be wanting to compile something? I don't think ./configure would go very far without compiling tools installed.

3rdalbum
March 8th, 2009, 09:49 AM
I'm a bit mystified as to why someone who presumably started using Ubuntu a week ago, wants to install a virtual filesystem. I've been using Linux for three years and I still can't understand what this Dazuko FS does exactly.

Anyway, it sounds to me like your terminal isn't in the correct directory. You've unpacked the archive already, but the "./" in "./configure" means "Run this program that is in the current directory".

In the terminal, type "cd " (with the trailing space but without the quotes) and then drag the UNPACKED folder onto the terminal. Bring the terminal back to the foreground again by clicking on it, and then press Enter. Now the terminal will be in the correct directory, and ./configure should work assuming you have all the required libraries and packages installed.

Build-essential is one of those packages that you need to have installed.

iocustheoda
March 8th, 2009, 11:53 AM
Wow..so many things need to be check...I'll tell if anything works. Thanks guys!:o

=CrAzYG33K=
March 8th, 2009, 12:25 PM
And why has no-one mentioned:

sudo apt-get install build-essentialif someone sounds to be wanting to compile something?

I consider myself quite okay at LINUX..
But I never got what this particular terminal command actually did.. Can someone explain? :P

scragar
March 8th, 2009, 12:50 PM
I consider myself quite okay at LINUX..
But I never got what this particular terminal command actually did.. Can someone explain? :P


sudo get root(admin) privilages to run command
apt-get this is the command line package manager
install we want apt to know we need to install something
build-essential this is the package we want to install

Dadsgé
March 8th, 2009, 01:25 PM
i think he wants to know (just like me :p) what the build-essential package does?

mister_pink
March 8th, 2009, 01:44 PM
apt-cache show build-essential
or look it up in synaptic. It's just a metapackage that pulls in things that are essential for building debian packages.
I think it pulls in the basic compilers and linkers, automake and debian packaging tools.

yeats
March 8th, 2009, 01:54 PM
or look it up in synaptic. It's just a metapackage that pulls in things that are essential for building debian packages.
I think it pulls in the basic compilers and linkers, automake and debian packaging tools.

build-essential includes the basic utilities someone needs to build a Debian package (which almost no regular user ever does), but it also includes the utilities and libraries that anyone installing software from source will need, so it is one of those I end up installing up front.

@iocustheoda

Wow..so many things need to be check...I'll tell if anything works. Thanks guys!

You'll want to be careful installing from source, especially if the program you're building is complex and requires a lot of custom dependencies (if you don't know what I mean here, you'll want to find out before getting in too deep). I have completely botched my system while installing a minor game program because I inadvertently ripped out some dependencies from some core Ubuntu programs without realizing it.

The moral of the story is that you might want to stick to the repos until you have a better grasp on this. :-)

iocustheoda
March 8th, 2009, 04:52 PM
[sudo] password for iocustheoda:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-generic is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.24-19-generic libxml-libxml-common-perl
libxml-namespacesupport-perl python-qt3 python-sip4 libxml-libxml-perl
libxml-sax-perl linux-headers-2.6.24-19
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
iocustheoda@iocustheoda-desktop:~$ dazuko-2.3.4/configure
checking host system type... Linux
checking for make utility... dazuko-2.3.4/configure: 1719: cannot create Makefile: Permission denied
dazuko-2.3.4/configure: 1720: cannot create Makefile: Permission denied
dazuko-2.3.4/configure: 1721: cannot create Makefile: Permission denied
none found
error: no make utility found on this system
rm: remove write-protected regular file `Makefile'? rm
iocustheoda@iocustheoda-desktop:~$ sudo -s
[sudo] password for iocustheoda:
root@iocustheoda-desktop:~# dazuko-2.3.4/configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.24-23-386/source... no
kernel build source in /lib/modules/2.6.24-23-386/build... yes
kernel source in /lib/modules/2.6.24-23-386/build... yes
acquiring Linux kernel code configuration... error
error: unable to compile linux_conf utility
please see `linux_conf_make.out' for details
root@iocustheoda-desktop:~# apt-get install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-dev is already the newest version.
libc6-dev set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.24-19-generic libxml-libxml-common-perl
libxml-namespacesupport-perl python-qt3 python-sip4 libxml-libxml-perl
libxml-sax-perl linux-headers-2.6.24-19
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@iocustheoda-desktop:~# dazuko-2.3.4/configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.24-23-386/source... no
kernel build source in /lib/modules/2.6.24-23-386/build... yes
kernel source in /lib/modules/2.6.24-23-386/build... yes
acquiring Linux kernel code configuration... error
error: unable to compile linux_conf utility
please see `linux_conf_make.out' for details
root@iocustheoda-desktop:~# linux_conf_make.out
bash: linux_conf_make.out: command not found
root@iocustheoda-desktop:~# dazuko-2.3.4/linux_conf_make.out
bash: dazuko-2.3.4/linux_conf_make.out: No such file or directory
root@iocustheoda-desktop:~#

what more should I do? downloaded the essentials, downloaded the generic. What command should I write to find linux_conf_make.out?

oldos2er
March 8th, 2009, 07:40 PM
You need the kernel headers. See http://www.dazuko.org/howto-install.shtml

yeats
March 8th, 2009, 07:43 PM
root@iocustheoda-desktop:~# linux_conf_make.out
bash: linux_conf_make.out: command not found

First of all, I'll discourage you from logging in as root. Sudo gets the job done. Having said that - it's your computer, so do what you like. :-)

If you want to view linux_conf_make.out (which I assume exists in the installation directory), you'll need to use a text editor or pager (my preference is less for this sort of thing):


less linux_conf_make.out

(run this command in the installation directory).

May I ask what it is this program does that you need? I'd like to dissuade you from continuing until you know more about what's what :-).

jjgomera
March 8th, 2009, 07:57 PM
what more should I do? downloaded the essentials, downloaded the generic. What command should I write to find linux_conf_make.out?
you need install kernel headers:

sudo aptitude install linux-headers-`uname -r`

But really, are you sure you need to compile? i dont remember use it in two years using ubuntu

mrbiggbrain
March 8th, 2009, 08:08 PM
you need install kernel headers:

sudo aptitude install linux-headers-`uname -r`

But really, are you sure you need to compile? i dont remember use it in two years using ubuntu

are those the regular headers, or the sanitized ones? sometimes one por the other is needed, and i dont know what headers ubuntu provides, or if ubuntu would accept non ubuntu-header-santization

iocustheoda
March 8th, 2009, 08:18 PM
I want to install avira antivirus. I know, I know, I don't need to worry about viruses in Linux, but the problem is my school computer and editorial computer uses Windows XP. I can't do anything about it, School's standards.

I want to prevent having any virus that might be a problem to their computers.


I am always stuck on installing dazuko.

And I tried:


apt-get build-essential

Also:

sudo aptitude install linux-headers-`uname -r`

Here is the result:



iocustheoda@iocustheoda-desktop:~$ sudo aptitude install linux-headers-2.6.24-23-386
[sudo] password for iocustheoda:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
ant antlr clamav-base kdebase-bin-kde3 libbcel-java libbit-vector-perl
libcarp-clan-perl libclamav3 libcommons-collections-java libgmp3c2
libjdom0-java liblogkit-java libnumber-compare-perl libregexp-java
libservlet2.3-java libtext-glob-perl libwerken.xpath-java
libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl
libxml-sax-perl linux-headers-2.6.24-19 linux-headers-2.6.24-19-generic
python-qt3 python-sip4
0 packages upgraded, 0 newly installed, 25 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 121MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 186141 files and directories currently installed.)
Removing ant ...
Removing libwerken.xpath-java ...
Removing antlr ...
Removing clamav-base ...
Removing kdebase-bin-kde3 ...
Removing libbcel-java ...
Removing libbit-vector-perl ...
Removing libcarp-clan-perl ...
Removing libclamav3 ...
Removing libcommons-collections-java ...
Removing libgmp3c2 ...
Removing libjdom0-java ...
Removing liblogkit-java ...
Removing libnumber-compare-perl ...
Removing libregexp-java ...
Removing libservlet2.3-java ...
Removing libtext-glob-perl ...
Removing libxml-libxml-perl ...
update-perl-sax-parsers: Removing Perl SAX parser module info file of XML::LibXML::SAX::Parser...
update-perl-sax-parsers: Removing Perl SAX parser module info file of XML::LibXML::SAX...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Removing libxml-libxml-common-perl ...
Removing libxml-sax-perl ...
Removing libxml-namespacesupport-perl ...
Removing linux-headers-2.6.24-19-generic ...
Removing linux-headers-2.6.24-19 ...
Removing python-qt3 ...
Removing python-sip4 ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
iocustheoda@iocustheoda-desktop:~$ sudo -s
root@iocustheoda-desktop:~# dazuko-2.3.4/configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.24-23-386/source... no
kernel build source in /lib/modules/2.6.24-23-386/build... yes
kernel source in /lib/modules/2.6.24-23-386/build... yes
acquiring Linux kernel code configuration... error
error: unable to compile linux_conf utility
please see `linux_conf_make.out' for details
root@iocustheoda-desktop:~# less linux_conf_make.out
linux_conf_make.out: No such file or directory
root@iocustheoda-desktop:~#

yeats
March 8th, 2009, 08:39 PM
I want to install avira antivirus. I know, I know, I don't need to worry about viruses in Linux, but the problem is my school computer and editorial computer uses Windows XP. I can't do anything about it, School's standards.

I want to prevent having any virus that might be a problem to their computers.

Ah... well, I'm afraid it won't work on Ubuntu anyway. I mean you could, with a lot of effort, probably get it installed, but an antivirus program for Windows will not be useful at all. There are antivirus programs for Linux (ClamAV is one, and it's already in the repositories and will save you all this trouble!). Any chance of convincing your school administrators of the futility of installing a Windows anti-virus program on a Linux machine? :-)

yeats
March 8th, 2009, 09:24 PM
Actually, I see that some people have done it ...

http://ubuntuforums.org/showthread.php?t=1080668

So I stand corrected. :-)

jjgomera
March 8th, 2009, 09:41 PM
are those the regular headers, or the sanitized ones? sometimes one por the other is needed, and i dont know what headers ubuntu provides, or if ubuntu would accept non ubuntu-header-santization

normal, really i never heared about that sanitized kernels


root@iocustheoda-desktop:~# less linux_conf_make.out
linux_conf_make.out: No such file or directory
root@iocustheoda-desktop:~#

first, NEVER compile with root user.
second:are you sure you are in correct path? you are in your desktop, are you untar all files in desktop or in a subfolder in desktop?
third: i think this app is very difficult to compile, because you need recompile kernel,


jjgomera@ordenata:~/Escritorio/dazuko-2.3.4$ ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.26-1-686/source... no
kernel build source in /lib/modules/2.6.26-1-686/build... yes
kernel source in /lib/modules/2.6.26-1-686/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.26)
checking if security module support is enabled... yes
verifying capabilities are not built-in... built-in :(
error: capabilities are built-in to the kernel:
you will need to recompile a kernel with capabilities
as a kernel module


that needs 2 hours or more in a godd computer

so for that use, maybe a normal antivirus would be enough


Actually, I see that some people have done it ...

http://ubuntuforums.org/showthread.php?t=1080668
upps :D

iocustheoda
March 9th, 2009, 06:01 AM
MAybe I should install Windows XP in VirtualBox OSE THEN install avira there. Think that will work?:o

yeats
March 9th, 2009, 11:09 AM
That will work as far as achieving a successful installation, yes, but it will only work for the XP instance in VirtualBox. If you can use it there though and use ClamAV for Ubuntu, that might suffice...

iocustheoda
March 9th, 2009, 12:58 PM
In the end, I've installed avast! Linux Home Edition deb package. Haha, that's what happens when someone who is unfamiliar with command lines . We simply choose the easier choice.

Hm..hope Avira make a .deb package too..

3rdalbum
March 9th, 2009, 02:21 PM
It's not just the easier choice, it's the correct choice. Compiling a new kernel filesystem is completely overkill for anti-virus software and it's not something that's appropriate to do if you don't have a lot of Linux experience.

I also note that you said you need anti-virus software to prevent your computer being a carrier for viruses. On my blog "A Man And His Penguin" linked in my signature, there is an article about why anti-virus is not necessary on Linux. Although not explicitly mentioned, the explanation I give is also correct for why Linux does not generally act as a carrier for viruses either.

shellotta
March 12th, 2009, 05:51 PM
Hi. There are patches at /dazukofs-3.0.0/patches .
you should patch the code with the following command

$ patch -p1 < patches/patch-linux-2.26.24
(If you are running linux-2.26.24)

Then, you can build dazukoFS.

But AntiVir doesn't support dazukoFS-3.0.0.
You need install dazuko 2.3.6,
or wait for an antivir version for dazukofs.