You are not logged in.
Pages: 1
I'm new to arch. I'd like to get to the point of compiling and installing from sources such as bind-9.7.4-P1.tar.gz. When I extract and configure the command "configure" isn't found.
-bash: configure: command not found
Anyone know what package name this is in? I can't find it anywhere.
Offline
configure is in the bind source.
[lars@x201 downloads]$ ls -l bind-9.7.4-P1/configure
-rwxr-xr-x 1 lars users 905182 20 jul 02:00 bind-9.7.4-P1/configure
But why don't you install bind with pacman?
Edit: Btw, you should type './configure', not just 'configure' unless it's in your $PATH (which it isn't).
Last edited by Lars Stokholm (2011-12-29 21:49:13)
Offline
Ken, if I'm reading the question right I think you're missing an important piece.
Configure isn't a tool that you should have installed somewhere. It is a common name for a script file that should be included with every source tarball. Each program or package has *it's own* configure script, as they all differ.
So, as indicated above, when you get the tarball, you first untar it, then cd into the directory that was created. In that directory there should be a file called 'configure' which is a shell script that is executed by "./configure" in order to configure that specific package (ie this creates the Makefile(s) for the next step).
Once that is done you would type "make". Make, unlike configure, is a tool that you should have installed.
Of course in arch, PKGBUILDS and the ABS automate much of this for you. Learn to use the arch tools so that your installed packages can be kept track of by pacman.
Last edited by Trilby (2011-12-29 22:46:24)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
configure is in the bind source.
[lars@x201 downloads]$ ls -l bind-9.7.4-P1/configure -rwxr-xr-x 1 lars users 905182 20 jul 02:00 bind-9.7.4-P1/configure
But why don't you install bind with pacman?
Edit: Btw, you should type './configure', not just 'configure' unless it's in your $PATH (which it isn't).
Right ./configure. Thats why. Its fine, I can compile from sources now.
Offline
But why do you want to?
Offline
I just like to do thing my way, thats all.
I noticed on my server I have no telnet command. So I go to http://www.archlinux.org/packages/?sort … =&limit=50 to search for telnet but its not found anywhere. what package can I install that has telnet in it?
Offline
I noticed on my server I have no telnet command. So I go to http://www.archlinux.org/packages/?sort … =&limit=50 to search for telnet but its not found anywhere. what package can I install that has telnet in it?
$ pkgfile telnet
core/inetutils
Offline
Thanks. Now I'm trying to install MySQL from source and I get "C compiler cannot create executable".
cloud(/temp/mysql-5.1.60): CPPFLAGS="-I/usr/lib" CFLAGS="-O3 -mcpu=i686 -march=i686 -O3 -pipe -fomit-frame-pointer -ffixed-ebp" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/apps/mysql --with-mysqld-user=mysql --with-big-tables --without-debug --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static
checking build system type... x86_64-unknown-linux-gnu
(stuff)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/temp/mysql-5.1.60':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Any idea?
Offline
@kenw232,
You do know that the more packages you compile from source - instead of a "pacman compatible" system like AUR or ABS - the greater the chance that using pacman at any time in the future will totally break your system installation.
If you do not want to do it "properly", ABS, then NEVER use pacman to update your system in the future.
EDIT: If you want complete control over every aspect of your system then I'd recommend looking into something like Linux from Scratch.
Last edited by headkase (2011-12-30 00:05:05)
Offline
I fixed it. had to remove -mcpu=i686 -march=i686 from the CPPFLAGS there.
Offline
If you want complete control over every aspect of your system then I'd recommend looking into something like Linux from Scratch.
I second this.
From my own experience (I did run a LFS-only system for nearly 2 years) there is nothing you can learn more about the innards of a Linux system (not even Gentoo). You can even build your completely own LFS system parallel to Arch. And after you've done so you will become an even more proficient Archer!
But beware, you'll need lots of time if you want to do it right- time to learn and time to build. Yet, it is fun.
To know or not to know ...
... the questions remain forever.
Offline
Pages: 1