I've tried to install MP at Suse (with layout RedHat). Nearly
everything compiles well.
PHP does'nt find gd.h, but it can be found at /usr/include/gd
I had to install the cources of gd1.3
Solution for now: I've added --with-gd=.....
-------cut-----------
cd ../midgard-php-%{mgdversion}
OPTIM="$RPM_OPT_FLAGS" LIB="-L/usr/lib/mysql -L/usr/local/lib
-lmidgard -lmysqlclient" LDFLAGS=$LIB
./configure --with-midgard=/usr/local
--with-apache=../apache_%{apversion} --with-mysql
--with-gd=../../gd1.3
make
make install
--------cut---------
after this changes, the spec-file works correctly till apache.
The sed lines does'nt change -rpath to -L
----------cut-------
cp src/modules/experimental/Makefile
src/modules/experimental/Makefile.bak
sed -e "s/-rpath /-L/" < src/modules/experimental/Makefile.bak >
src/modules/experimental/Makefile
cp src/modules/standard/Makefile src/modules/standard/Makefile.bak
sed -e "s/-rpath /-L/" < src/modules/standard/Makefile.bak >
src/modules/standard/Makefile
....
----------cut----------------
Now some mysterious.
If I use rpm -bc ... to compile the MP, the httpd.conf is as they
should be
--------cut------
MidgardRootfile modules/midgard-root.php3
# This is required to enable Midgard user authentication
<Files midgard-root.php3>
--------cut---------
If 1 use rpm -bi ...
--------cut------
MidgardRootfile /usr/local/lib/apache/midgard-root.php3
# This is required to enable Midgard user authentication
<Files /usr/local/lib/apache/midgard-root.php3>
--------cut---------
I think, there are some differences between RedHat and Suse and they
produce this behaviour.
Midgard 1.2.5 is now running and adding hosts and adding users now
works.
Ciao,
erich
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]