apache22 fails to find apr-util (Bug #182)
Description
$ sorcery -v
1.14.5
$ gaze version apache22 apr apr-util
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
stable http apache22 2.2.20 2.2.19
stable libs apr 1.4.5 1.4.5
stable libs apr-util 1.3.12 1.3.12
$ cat /var/lib/sorcery/codex/stable/VERSION
0.59-3
5e862a929d2274f5b3e26dea5a9fe87af5726b6d
- cast apr-util
Computing previously installed dependencies...
apr-util preparing environment...
apr-util checking dependencies...
you only need one of: db,gdbm,postgresql,sqlite,sqlite2
apr-util has a dependency on apr
apr-util has a dependency on expat
apr-util has an enabled optional dependency on db
apr-util has a disabled optional dependency on gdbm
apr-util has a disabled optional dependency on postgresql
apr-util has a disabled optional dependency on sqlite
apr-util has a disabled optional dependency on sqlite2
apr-util has an optional dependency on some ODBC-MGR (for ODBC backend support).
Continue to use libiodbc? [y] y
apr-util has a disabled optional dependency on openldap
apr-util triggers a check_self on subversion
Run the trigger? [y] y
- cast apache22
omputing previously installed dependencies...
apache22 preparing environment...
Build modules as shared? -> y
apache22 running configuration...
Before picking a MPM, please see: http://sourcemage.org/ApacheMPM
Which MPM would you like? -> 'prefork'
Install init script apache? [y] y
Enable init script apache? [y] y
apache22 checking dependencies...
apache22 has a dependency on apr
apache22 has a dependency on apr-util
apache22 has an enabled optional dependency on openssl
apache22 has an enabled optional dependency on pcre
...
checking whether it is safe to define EXTENSIONS... yes
checking for library containing strerror... none required
checking for APR version 1.2.0 or later... yes
checking for APR-util version 1.2.0 or later... configure: error: APR-util version 1.2.0 or later is required
no
! Problem Detected !
Creating compile log /var/log/sorcery/compile/apache22-2.2.20.bz2
Creating castfs debug log /var/log/sorcery/compile/apache22-2.2.20.castfs.dbglog.bz2
Finished processing install requests.
Spells installed successfully:
------------------------------
apr apr-util
Spells that had a check_self trigger succeed:
---------------------------------------------
subversion
Spells that encountered problems:
---------------------------------
apache22
I've rebuilt apr and apr-util several times, but still apache22 fails to find apr-util.
Related issues
| related to Grimoire - Bug #51: apache22 can't find apr-util | Closed | 08/18/2011 |
History
Updated by Jeremy Sutherland over 1 year ago
apr-util has an enabled optional dependency on db
this is the breaking point, I met this error as well but disabling use of db "fixed" it.
the db major version has changed from 4 to 5 so apr-util no longer builds the module
using the Berkeley SleepyCat db package.
Updated by Eric Sandall over 1 year ago
Disabling db (and selecting sqlite since I have that installed and the wording sounds like I need at least one of the DB backends) for apr-util does not fix it.
$ grep ^apr-util /var/state/sorcery/depends
apr-util:apr:on:required:--with-apr=/usr:
apr-util:expat:on:required:--with-expat=/usr:
apr-util:db:off:optional:--with-berkeley-db:--without-berkeley-db
apr-util:gdbm:off:optional:--with-gdbm:--without-gdbm
apr-util:postgresql:off:optional:--with-pgsql:--without-pgsql
apr-util:sqlite:on:optional:--with-sqlite3:--without-sqlite3
apr-util:sqlite2:off:optional:--with-sqlite2:--without-sqlite2
apr-util:libiodbc(ODBC-MGR):on:optional:--with-odbc:--without-odbc
apr-util:openldap:off:optional:--with-ldap:--without-ldap
Updated by Bor Kraljič over 1 year ago
What is this bug different from issue #51?
Updated by Jeremy Sutherland over 1 year ago
This bug is about a specific module of apr-util not being built do to the dependency being newer,
also triggering a reconfiguration of apache22 becoming required.
I managed to get past this same issue myself but issue #51 is an Includes issue from what I have read.
Updated by David Kowis over 1 year ago
- Target version changed from 0.59 to 0.60
Updated by Eric Sandall over 1 year ago
Seems to work now in 0.59-4 f6b27a088e319f1a150632761fcc0f055c0d4de3, thanks. :)
Updated by Bor Kraljič over 1 year ago
If that is the case please close/resolve bug.
David has added you as grimoire developer (http://www.sourcemage.org/issues/315) so you should now be able to do such things :)
Updated by Eric Sandall over 1 year ago
- % Done changed from 0 to 100
- Status changed from New to Resolved