ST fails to build on SuSE Linux 8.2. Steps to reproduce: % cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/stsf -z3 co stsf % cd stsf/ % ls % ./configure 2>&1 | tee -a bulidlog.log % gmake 2>&1 | tee -a buildlog.log Result: Build failure: -- snip -- echo making all making all + cd interface + gmake all gmake[1]: Entering directory `/home/gismobile/projects/stsf/st/stsf/interface' chmod +x genstsf.py && ./genstsf.py +sccs delget BUILD gcc -Wall -pedantic -fpic -Wno-long-long -std=gnu99 -O2 -g -DPACKAGE_NAME=\"Standard\ Type\ Services\ Framework\" -DPACKAGE_TARNAME= \"standard-type-services-framework\" -DPACKAGE_VERSION=\"0.8\" -DPACKAGE_STRING=\"Standard\ Type\ Services\ Framework\ 0.8\" -DPACKA GE_BUGREPORT=\"stsf@pdx.freedesktop.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_ H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBC=1 -DHAVE_LIBC=1 -DHAVE_ DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_LONG_LONG=1 -D_FILE_OFFSET_BITS=64 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DSTSF -DVERBOSE_GREETING - DXST -DSTSF_PAD32 -DNO_INLINES -c -o sizegen.o sizegen.c In file included from sizegen.c:3: sttypes.h:54:26: sys/inttypes.h: No such file or directory In file included from sizegen.c:3: sttypes.h:79: error: parse error before "byte" sttypes.h:79: warning: type defaults to `int' in declaration of `byte' sttypes.h:79: error: ISO C forbids data definition with no type or storage class sttypes.h:80: error: parse error before "ucs4" sttypes.h:80: warning: type defaults to `int' in declaration of `ucs4' sttypes.h:80: error: ISO C forbids data definition with no type or storage class sttypes.h:81: error: parse error before "utf16" -- snip -- (I'll attach the full build log later) Expected result: Build should finish without errors
Created attachment 172 [details] Build log of failed build, date=2004-04-04, platform=SuSE Linux 8.2
Created attachment 181 [details] Build log of failed build, date=2004-04-08, platform=SuSE Linux 8.2 Alexander: The build still fails on my SuSE 8.2/Linux machine with todays trunk... ;-(
Looks like there are several errors there: No MD5 library is found, but one is required (this should be documented in build instructions if we ever write any): checking for md5_calc in -lmd5... no checking for MD5Init in -lmd... no checking for MD5Init in -lmd5... no checking for MD5Init in -lsasl... no stsfutil.c:375:2: #error "Either one of: USE_MD5_CALC or USE_MD5DATA or USE_MD4DATA should be defined!" stsfutil.c:421:2: #error "Either one of: USE_MD5_CALC or USE_MD5DATA or USE_MD4DATA should be defined!" Here it looks like it's trying to use Solaris doors on Linux - I thought Alex made autoconf keep us from doing that: stfsloader.c:51:18: door.h: No such file or directory This should be defined by #include <fcntl.h> on any POSIX-ish system: stfsloader.c:111: error: `O_RDWR' undeclared (first use in this function) serverconnection.c:556: error: `O_RDWR' undeclared (first use in this function)
Created attachment 186 [details] Build log of failed build, date=2004-04-10 (TZ=MEST), platform=SuSE Linux 8.2 The ST CVS still fails to build on SuSE 8.2... ;-(
I made massive changes to the build scripts and the bug is likely to be fixed now. I don't have SuSE 8.2 around. Could the submitter verify that STSF_0_8_5 or later builds out of the box?
Created attachment 211 [details] Build log of working build The build seems to work now... I didn't test "make install" nor AMD64 yet... I'll try to do that later today...
"make install" seems to work... ... but the code in "sample_code/webdemo/" doesn't... should I file a new bug for that ? Anyway... the original issue reported here seems to be fixed... ... marking bug as FIXED.
s/doesn't.../does not compile.../
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.