Hi,

I tried the latest CVS, but midgard-lib failed to compile:

./configure \
--prefix=/usr/local/midgard \
--with-sitegroups \
--with-mysql=/usr/local/mysql \
--with-expat=/usr

make && make install

<lots off outputt-> 
gcc -DPACKAGE=\"midgard\" -DVERSION=\"1.4.2-cvs-20011022\" -DYYTEXT_POINTER=1
-DSTDC_HEADERS=1 -DHAVE_ZLIB_H=1 -DHAVE_CRYPT_H=1 -DHAVE_ICONV=1
-DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. -I/usr/local/midgard/include
-I/usr/include/glib-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/local/mysql/include/mysql -Wall -g -O2 -Wp,-MD,.deps/pageresolve.pp -c
pageresolve.c  -fPIC -DPIC -o .libs/pageresolve.lo
pageresolve.c: In function `mgd_cache_touch':
pageresolve.c:314: parse error before `if'
pageresolve.c:307: warning: unused variable `sitegroup'
pageresolve.c:306: warning: unused variable `command'
pageresolve.c: At top level:
pageresolve.c:318: parse error before string constant
pageresolve.c:318: warning: type defaults to `int' in declaration of
`g_string_sprintf'
pageresolve.c:318: conflicting types for `g_string_sprintf'
/usr/include/glib-1.2/glib.h:1669: previous declaration of `g_string_sprintf'
pageresolve.c:318: warning: data definition has no type or storage class
pageresolve.c:319: parse error before `->'
pageresolve.c:319: warning: type defaults to `int' in declaration of
`mysql_query'
pageresolve.c:319: warning: data definition has no type or storage class
pageresolve.c:320: parse error before `('
make[1]: *** [pageresolve.lo] Error 1
make[1]: Leaving directory `/usr/src/apache/midgard-lib-1.4.2-2/src'

I thought I'd try to resolve the old mgd_calander troubles. AFAIK theres a
testfix in CVS, right? :)

Tarjei



creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... cc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for ANSI C header files... yes
checking for working const... yes
checking for glib-config... /usr/bin/glib-config
checking for library containing crypt... -lcrypt
checking for zlib.h... yes
checking for crypt.h... yes
checking for library containing compress... -lz
checking for library containing gzopen... none required
checking for library containing g_string_new... none required
checking for library containing floor... -lm
checking whether to include debug info in library... no
checking whether to use libuuid to generate GUIDS... no
checking for library containing gethostbyname... none required
checking for library containing htonl... none required
checking for iconv... yes
checking for location of iconv headers and libraries... /usr
checking whether to enable SiteGroups... yes
checking whether to enable PageLinks (experimental)... no
checking MySQL location... /usr/local/mysql
checking Expat location... /usr
checking Repligard binary owner... mysql
checking for library containing mysql_connect... none required
checking for library containing XML_ParserCreate... -lexpat
checking for errmsg.h... yes
checking for mysql.h... yes
checking whether work around the PHP request_config bug... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating midgard/Makefile
creating midgard/midgard.h
creating src/Makefile
creating src/iconvxml.c
creating repligard/Makefile
creating repligard/repligard.conf
creating repligard/main.c
creating test/Makefile
creating SPECS/midgard-lib.spec.RedHat
creating midgard-config
[root@mail midgard-lib-1.4.2-2]# make && make install

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

Reply via email to