femto-dev/femto

Apache2 apxs-install issue

Closed this issue · 8 comments

Hello,
I have read the comments for the module integration but still if somebody knows how to sort my problem.

epokh@epokh-work:~/femto_release/femto/src/mod_femto$ sudo make apxs-install 
apxs2 -i -a -n femto libmod_femto.la
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' libmod_femto.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install cp libmod_femto.la /usr/lib/apache2/modules/
libtool: install: `libmod_femto.la' is not a valid libtool archive
libtool: install: Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536
.

I am on ubuntu 12.10 with apache2-prefork-dev.

mppf commented

In this situation, does libmod_femto.la exist at all? Maybe you have to 'make' there first to build it?

Hello,
yes the library was compiled I believe correctly, I can't remember the size
of the module (around 33Kb?) and I don't have my dev machine with me on
holiday.
Will do some test once back thanks for the support anyway.

On 23 January 2014 17:58, mppf notifications@github.com wrote:

In this situation, does libmod_femto.la exist at all? Maybe you have to
'make' there first to build it?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-33150036
.

Dr. Paolo Di Prodi

Oky some more information on that:
/home/epokh/Projects/femto_release/femto/dist-build/femto-1.2.9/src/main/
libfemto.la (892 bytes)
this exists but the libmod_femto.la is missing.
That errors happens when I do make from: femto_release/femto/src/mod_femto

Oky I am trying to re-compile everything from scratch.

On 24 January 2014 16:22, Paolo Di Prodi robomotic@gmail.com wrote:

Hello,
yes the library was compiled I believe correctly, I can't remember the
size of the module (around 33Kb?) and I don't have my dev machine with me
on holiday.
Will do some test once back thanks for the support anyway.

On 23 January 2014 17:58, mppf notifications@github.com wrote:

In this situation, does libmod_femto.la exist at all? Maybe you have to
'make' there first to build it?

Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-33150036
.

Dr. Paolo Di Prodi

Dr. Paolo Di Prodi

mppf commented

I've been able to make and install the Apache module with Debian 7.4. Are you still having trouble?

Testing right now with the new changes.

On 26 February 2014 17:53, mppf notifications@github.com wrote:

I've been able to make and install the Apache module with Debian 7.4. Are
you still having trouble?

Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-36154738
.

Dr. Paolo Di Prodi

Hello I have noticed some issues with the new version now.
When I run sh autogen.sh, I have got the following error:
configure.ac:69: error: required file './ltmain.sh' not found

I can't compare the previous working version as I have deleted it.
Any advice on this?

On 27 February 2014 13:54, Paolo Di Prodi robomotic@gmail.com wrote:

Testing right now with the new changes.

On 26 February 2014 17:53, mppf notifications@github.com wrote:

I've been able to make and install the Apache module with Debian 7.4. Are
you still having trouble?

Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-36154738
.

Dr. Paolo Di Prodi

Dr. Paolo Di Prodi

mppf commented

What happens when you run autogen.sh? I get:

$ sh autogen.sh
Deleting possible symbolic links
Running autoreconf --force --install
libtoolize: putting auxiliary files in .'. libtoolize: copying file./ltmain.sh'
libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:69: installing ./config.guess' configure.ac:69: installing./config.sub'
configure.ac:6: installing ./install-sh' configure.ac:6: installing./missing'
src/dcx_cc/Makefile.am: installing ./depcomp' configure.ac: installing./ylwrap'
You now need to run configure

Perhaps you do not have autoreconf/libtool/libtoolize installed?
What versions do you have for
$ autoreconf --version
and
$ libtoolize --version
?

mppf commented

Closing this issue since there has been no further activity and it works for me.