It is currently Fri Jun 22, 2018 4:24 pm


i need help with autoconf and automake on mandrake

All versions of Linux, Mac OS and Unix

Moderator: PCguy

i need help with autoconf and automake on mandrake

Postby liljim » Wed Jul 28, 2004 3:18 am

Hi all,
Im trying to install some modem drivers but before i can do that i have to have automake 1.6 installed..before i can install that i need autoconf 2.52 installed,I think autoconf installs correctly,here's the configure.log file:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU Autoconf configure 2.52, which was
generated by GNU Autoconf 2.50. Invocation command line was

$ ./configure

## ---------- ##
## Platform. ##
## ---------- ##

hostname = localhost
uname -m = i686
uname -r = 2.4.25-2mdk
uname -s = Linux
uname -v = #1 Tue Mar 2 07:39:08 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

## ------------ ##
## Core tests. ##
## ------------ ##

configure:864: PATH=".;."; conftest.sh
./configure: line 865: conftest.sh: command not found
configure:867: $? = 127
configure:913: checking for a BSD compatible install
configure:962: result: /usr/bin/install -c
configure:973: checking whether build environment is sane
configure:1016: result: yes
configure:1045: WARNING: `missing' script is too old or missing
configure:1049: checking whether make sets ${MAKE}
configure:1069: result: yes
configure:1113: checking for expr
configure:1130: found /usr/bin/expr
configure:1141: result: /usr/bin/expr
configure:1156: checking for gm4
configure:1187: result: no
configure:1156: checking for gnum4
configure:1187: result: no
configure:1156: checking for m4
configure:1173: found /usr/bin/m4
configure:1184: result: /usr/bin/m4
configure:1195: checking whether m4 supports frozen files
configure:1207: result: yes
configure:1222: checking for mawk
configure:1248: result: no
configure:1222: checking for gawk
configure:1237: found /bin/gawk
configure:1245: result: gawk
configure:1271: checking for perl
configure:1288: found /usr/bin/perl
configure:1300: result: /usr/bin/perl
configure:1326: checking for a BSD compatible install
configure:1375: result: /usr/bin/install -c
configure:1500: creating ./config.status

## ----------------------- ##
## Running config.status. ##
## ----------------------- ##

This file was extended by config.status (GNU Autoconf 2.52) 2.50, executed with
> ./config.status
on localhost

config.status:1926: creating Makefile
config.status:1926: creating m4/Makefile
config.status:1926: creating man/Makefile
config.status:1926: creating doc/Makefile
config.status:1926: creating config/Makefile
config.status:1926: creating tests/Makefile
config.status:1926: creating tests/atconfig

## ----------------- ##
## Cache variables. ##
## ----------------- ##

ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_EXPR=/usr/bin/expr
ac_cv_path_M4=/usr/bin/m4
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_gnu_m4=yes
ac_cv_prog_make_make_set=yes

## ------------ ##
## confdefs.h. ##
## ------------ ##

#define PACKAGE "autoconf"
#define VERSION "2.52"


configure: exit 0


It looks fine to me but im not familiar with all this..(linux newbie)

so,after that i ran the configure for automake 1.6...here's the log for that

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU Automake configure 1.6, which was
generated by GNU Autoconf 2.52i. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = i686
uname -r = 2.4.25-2mdk
uname -s = Linux
uname -v = #1 Tue Mar 2 07:39:08 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1170: checking for a BSD compatible install
configure:1224: result: /usr/bin/install -c
configure:1235: checking whether build environment is sane
configure:1278: result: yes
configure:1303: WARNING: `missing' script is too old or missing
configure:1311: checking for gawk
configure:1327: found /bin/gawk
configure:1337: result: gawk
configure:1347: checking whether make sets ${MAKE}
configure:1367: result: yes
configure:1534: checking for perl
configure:1552: found /usr/bin/perl
configure:1564: result: /usr/bin/perl
configure:1587: cd conftest && eval autoconf -o /dev/null conftest.ac
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
[-l dir] [--localdir=dir] [--version] [template-file]
configure:1590: $? = 1
configure:1592: error: Autoconf 2.52 or better is required
## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "GNU Automake"
#define PACKAGE_TARNAME "automake"
#define PACKAGE_VERSION "1.6"
#define PACKAGE_STRING "GNU Automake 1.6"
#define PACKAGE_BUGREPORT "bug-automake@gnu.org"
#define PACKAGE "automake"
#define VERSION "1.6"

configure: exit 1

Any idea's whats going on here?


Whats happening is when i try to install the modem drivers.../configure works fine then i use make and i get an error that automake 1.6 has to be installed.If anyone can help it would be very appreciated.

liljim

*Im using Mandrake 10 with kernel 2.4.25-2mdk and the kernel source is also installed
User avatar
liljim
Moderator
Moderator
 
Posts: 3017
Joined: Mon Mar 03, 2003 1:00 am
Location: Louisiana
Operating System: Win 7 Home Premium X64

Thanks given:0
Thanks received:12
Top

Postby liljim » Thu Jul 29, 2004 3:22 am

ok..i got aggervated,wiped out the drive and reinstalled.I downloaded rpm's of both autoconf and automake...both installed fine.One problem solved..here's a new one though.I get this while trying to install my modem drivers.

[liljim@localhost pctel-0.9.7-9]$ su
[root@localhost pctel-0.9.7-9]# ./setup
checking for running kernel version...2.4.25
checking for ptserial...ptserial-2.4.7.c
checking for gcc...3.3.2
searching for kernel includes...found at /usr/src/linux/include
checking for modversions.h.../usr/src/linux/include/linux/modversions.h
checking for kernel_version...In file included from t.c:2:
/usr/src/linux/include/linux/version.h:1:28: linux/rhconfig.h: No such file or directory
./configure: line 1: ./t: No such file or directory
rm: cannot remove `./t': No such file or directory
** error
could not determine a proper UTS_RELEASE
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.


Any thoughts?
User avatar
liljim
Moderator
Moderator
 
Posts: 3017
Joined: Mon Mar 03, 2003 1:00 am
Location: Louisiana
Operating System: Win 7 Home Premium X64

Thanks given:0
Thanks received:12
Top

Postby Cactus » Thu Jul 29, 2004 4:05 am

User avatar
Cactus
Geek Alumni
 
Posts: 1330
Joined: Sat Nov 30, 2002 1:00 am
Location: Somewhere...

Thanks given:0
Thanks received:0
Top

Postby liljim » Thu Jul 29, 2004 7:08 am

Thanks GG,me too!

Thanks for the links cactus but i already have the script and for the "how to"
Common problems
The ./setup command may fail with the following error:

checking for modversions.h.../usr/src/linux/include/linux/modversions.h
checking for kernel_version...In file included from t.c:2:
/usr/src/linux/include/linux/version.h:1:28: linux/rhconfig.h: No such file or directory
./configure: line 1: ./t: No such file or directory
rm: impossibile rimuovere `./t': No such file or directory
** error
could not determine a proper UTS_RELEASE
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.
[root@localhost pctel-0.9.7-9]#

Don't panic, as root, open the file /usr/src/linux/include/linux/version.h with a text editor like kwrite, and change the first line from
#include <linux/rhconfig.h>
to
#include "rhconfig.h"
save the changes, and run the ./setup command again. This time it will work.

That didnt work...

I had this working once before,changed my HDD that linux was on and did a new install and now im having fits with it.. :mad:
User avatar
liljim
Moderator
Moderator
 
Posts: 3017
Joined: Mon Mar 03, 2003 1:00 am
Location: Louisiana
Operating System: Win 7 Home Premium X64

Thanks given:0
Thanks received:12
Top

Postby liljim » Fri Jul 30, 2004 9:28 am

I FIGURED IT OUT!!!

The F.A.Q. "fix" is almost right..it says to change
#include <linux/rhconfig.h>
to
#include "rhconfig.h"

but that doesnt work...here's what did,change
#include <linux/rhconfig.h>
to
#include </usr/src/linux/include/linux/rhconfig.h>
and Presto!! Linux is online!!
User avatar
liljim
Moderator
Moderator
 
Posts: 3017
Joined: Mon Mar 03, 2003 1:00 am
Location: Louisiana
Operating System: Win 7 Home Premium X64

Thanks given:0
Thanks received:12
Top


Return to Linux, Mac and Unix

Who is online

Users browsing this forum: No registered users and 2 guests

cron