x-itec / mod-authn-otp

Automatically exported from code.google.com/p/mod-authn-otp
Apache License 2.0
0 stars 0 forks source link

Installation - config on Ubuntu 10.04 failed #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
My server is an Ubuntu 10.04
I run the configure command and I get:

/home/administrator/mod_authn_otp-1.1.1# ./configure               checking for 
a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... /usr/bin/strip
checking for cp... /bin/cp
checking for apxs... no
checking for apxs2... no
configure: error: cannot find apxs or apxs2

Any suggestion? 

Thank you!

Original issue reported on code.google.com by prassaschr@gmail.com on 6 Jan 2011 at 3:18

GoogleCodeExporter commented 9 years ago
Sorry, I don't use Ubuntu or know much about it so I can't offer much help.

I'd recommend you ask on the appropriate Ubuntu support email list, or file a 
feature request with them to have mod-auth-otp properly ported, etc.

If you come up with a solution I'll certainly consider adding it.

Original comment by archie.c...@gmail.com on 6 Jan 2011 at 3:22

GoogleCodeExporter commented 9 years ago
Hi,
I compiled mod-authn-otp on Debian Lenny yesterday; the package in question you 
are missing can be installed using "apt-get install apache2-threaded-dev".

Original comment by Markus.U...@gmail.com on 30 Jan 2011 at 8:01

GoogleCodeExporter commented 9 years ago
Hi,
I will test it and I 'll post the results...
Thank you!

Original comment by prassaschr@gmail.com on 30 Jan 2011 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by archie.c...@gmail.com on 14 Apr 2011 at 8:15

GoogleCodeExporter commented 9 years ago
apxs2 is part of the devel tools used by Apache2 to find the correct compiled 
configuration parameters. It is included in the apache2*dev package (which also 
has the 'include' files to be able to compile apache modules). 
For Ubuntu, as a general rule, you should install the virtual package named 
'apache2-dev', as there are several threading models available (mpm, thread, 
prefork, etc.). So that virtual package will install the correct one.
Also be sure you have all the required compilation tools. You can also install 
the virtual package named 'build-essential' (include make, gcc, etc).

So: 

  apt-get install build-essential apache2-dev

will correct your problem.

Original comment by l...@gradstein.info on 10 Jun 2011 at 1:28

GoogleCodeExporter commented 9 years ago
Thanks, I updated the INSTALL file in r99.

Original comment by archie.c...@gmail.com on 10 Jun 2011 at 2:28