Hi!

I tried to get the deb-src package, the regular bz2 and the AllinOne package. 
everytime I try to compile it, all I get is a huge number of errors. It seems 
that some files are missing, for example midgard/midgard.h. I posted the 
first lines of the compilation below, if anyone is interested, I can provide 
the full output (~1000 lines) as well:

./mkall --with-apxs=/usr/bin/apxs2 --with-apr-config=/usr/bin/apr-config
find . -name \*.lo | xargs rm -f
find . -name \*.o | xargs rm -f
find . -name \*.la | xargs rm -f
find . -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp4.la   modules/* libs/*
rm -f config.cache config.log config.status Makefile.objects 
Makefile.fragments libtool main/php_config.h stamp-h php4.spec 
sapi/apache/libphp4.module buildmk.stamp
egrep define'.*include/php' configure|sed 's/.*>//'|xargs rm -f
find . -name Makefile | xargs rm -f
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php4 -I/usr/include/php4/main 
-I/usr/include/php4/Zend -I/usr/include/php4/TSRM
checking for PHP extension directory... /usr/lib/php4/20020429
checking for re2c... exit 0;
checking for gawk... gawk
checking for midgard support... yes, shared
checking for midgard-config... /usr/bin/midgard-config
checking for --with-apxs... /usr/bin/apxs2 executable, good
checking for --with-apr-config... /usr/bin/apr-config executable, good
checking for Apache libexec directory... /usr/lib/apache2/modules
checking for Apache sysconf directory... /etc/apache2
checking for Apache include directory... -I/usr/include/apache2
checking Apache version... ./configure: line 1: cd: -I: invalid option
cd: usage: cd [-L|-P] [dir]
2.0
checking for apr_socket_connect in -lapr-0... yes
checking whether to compile for old mod_midgard (non-MMP, activated by 
default)... no
checking whether to keep depracated features... no
checking for midgard experimental functions support... no
checking whether to include profiling calls... no
checking whether to compile for php with system regex... php
  ========================   IMPORTANT   =========================
  If this is the first time you're installing Midgard, or you have
  recently upgraded PHP, make sure to check your php.ini to verify
  that extension_dir at least includes
  /usr/lib/php4/20020429
  ================================================================
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
/bin/sh /root/midgard-php4-1.6.3/libtool --mode=compile gcc  -I. 
-I/root/midgard-php4-1.6.3 -DPHP_ATOM_INC -I/root/midgard-php4-1.6.3/include 
-I/root/midgard-php4-1.6.3/main-I/root/midgard-php4-1.6.3 -I/usr/include/php4 
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM 
-I/apache2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/include/mysql  -I/usr/include/apache2 -I/usr/include/apr-0 
-DHAVE_CONFIG_H  -g -O2   -c /root/midgard-php4-1.6.3/mgd_errno.c -o 
mgd_errno.lo
mkdir .libs
 gcc -I. -I/root/midgard-php4-1.6.3 -DPHP_ATOM_INC 
-I/root/midgard-php4-1.6.3/include -I/root/midgard-php4-1.6.3/main 
-I/root/midgard-php4-1.6.3 -I/usr/include/php4 -I/usr/include/php4/main 
-I/usr/include/php4/Zend -I/usr/include/php4/TSRM -I/apache2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/mysql 
-I/usr/include/apache2 -I/usr/include/apr-0 -DHAVE_CONFIG_H -g -O2 
-c /root/midgard-php4-1.6.3/mgd_errno.c  -fPIC -DPIC -o .libs/mgd_errno.o
/bin/sh /root/midgard-php4-1.6.3/libtool --mode=compile gcc  -I. 
-I/root/midgard-php4-1.6.3 -DPHP_ATOM_INC -I/root/midgard-php4-1.6.3/include 
-I/root/midgard-php4-1.6.3/main-I/root/midgard-php4-1.6.3 -I/usr/include/php4 
-I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM 
-I/apache2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/include/mysql  -I/usr/include/apache2 -I/usr/include/apr-0 
-DHAVE_CONFIG_H  -g -O2   -c /root/midgard-php4-1.6.3/midgard.c -o midgard.lo
 gcc -I. -I/root/midgard-php4-1.6.3 -DPHP_ATOM_INC 
-I/root/midgard-php4-1.6.3/include -I/root/midgard-php4-1.6.3/main 
-I/root/midgard-php4-1.6.3 -I/usr/include/php4 -I/usr/include/php4/main 
-I/usr/include/php4/Zend -I/usr/include/php4/TSRM -I/apache2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/mysql 
-I/usr/include/apache2 -I/usr/include/apr-0 -DHAVE_CONFIG_H -g -O2 
-c /root/midgard-php4-1.6.3/midgard.c  -fPIC -DPIC -o .libs/midgard.o
In file included from /root/midgard-php4-1.6.3/midgard.c:24:
/root/midgard-php4-1.6.3/php_midgard.h:64:29: midgard/midgard.h: No such file 
or directory
/root/midgard-php4-1.6.3/php_midgard.h:67:30: midgard/apache2.h: No such file 
or directory
In file included from /root/midgard-php4-1.6.3/mgd_internal.h:29,
                 from /root/midgard-php4-1.6.3/php_midgard.h:72,
                 from /root/midgard-php4-1.6.3/midgard.c:24:
/root/midgard-php4-1.6.3/mgd_access.h:24:29: midgard/midgard.h: No such file 
or directory
In file included from /root/midgard-php4-1.6.3/php_midgard.h:72,
                 from /root/midgard-php4-1.6.3/midgard.c:24:
/root/midgard-php4-1.6.3/mgd_internal.h:30:33: midgard/pageresolve.h: No such 
file or directory
In file included from /root/midgard-php4-1.6.3/php_midgard.h:72,
                 from /root/midgard-php4-1.6.3/midgard.c:24:
/root/midgard-php4-1.6.3/mgd_internal.h:141: error: parse error before '*' 
token
/root/midgard-php4-1.6.3/mgd_internal.h:425: error: parse error before '*' 
token
/root/midgard-php4-1.6.3/mgd_internal.h:425: warning: data definition has no 
type or storage class
In file included from /root/midgard-php4-1.6.3/php_midgard.h:73,
                 from /root/midgard-php4-1.6.3/midgard.c:24:
/root/midgard-php4-1.6.3/mgd_oop.h:25:32: midgard/tablenames.h: No such file 
or directory
In file included from /root/midgard-php4-1.6.3/midgard.c:24:
/root/midgard-php4-1.6.3/php_midgard.h:81: error: parse error before '*' token
/root/midgard-php4-1.6.3/php_midgard.h:81: warning: data definition has no 
type or storage class
/root/midgard-php4-1.6.3/php_midgard.h:82: error: parse error before '*' token
/root/midgard-php4-1.6.3/php_midgard.h:82: warning: data definition has no 
type or storage class
/root/midgard-php4-1.6.3/php_midgard.h:83: error: parse error before '*' token
/root/midgard-php4-1.6.3/php_midgard.h:83: warning: data definition has no 
type or storage class

and so on...


Bye,

Andreas

Am Freitag, 15. April 2005 11:09 schrieb Piotras:
> >  Fatal error: Call to undefined function: mgd_get_midgard()
> > in /var/cache/midgardlive/12-109-10-0.php on line 9
> >
> > Is there anything I can do to fix this?
>
> Get package's sources and build own packages ( recompile ).
>
> Piotras
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Adding sound to movies would be like putting lipstick on the Venus de Milo. -- 
Mary Pickford, 1925

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to