Hi Jeroen,

The easiest Fedora install is to use an rpm rather than building from source:
http://fossology.org/installing_fossology_with_rpm_s

That said, I personally have no experience with the rpm's.

The error you see looks like a mistake in the makefile.  libfosspython isn't 
used in 1.3.  It was used by our previous copyright agent.  We don't need it 
for the new copyright agent.  

I haven't tested this but you should be able to:

1) cd fossology-1.3.0/devel/
2) rm -rf libfosspython
3) edit Makefile - on line 6 you will see:
  DIRS = libfossdb libfossrepo libfossagent libfosspython
Change it to:
  DIRS = libfossdb libfossrepo libfossagent

Then rerun make.

Bob Gobeille


On Feb 8, 2011, at 8:15 AM, Jeroen Baten wrote:

> Hello,
> 
> The compile of 1.3.0 on fedora core 13 fails with an error (duh).
> But where should I look for the solution to this?
> 
> kind regards,
> Jeroen Baten
> 
> [jbaten@htn-ws-3092 fossology-1.3.0]$ make
> make -C devel
> make[1]: Entering directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel'
> make -C libfossdb
> make[2]: Entering directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfossdb'
> gcc -c libfossdb.c -DFOSSDB_CONF='"/usr/local/etc/fossology/Db.conf"'
> -I`pg_config --includedir` -fPIC -DSVN_REV="\"1.3.0, exported\"" -g -O2
> -Wall
> ar cr libfossdb.a libfossdb.o
> gcc dbtest.c -lpq -I`pg_config --includedir` -I../../devel/libfossdb
> -L../../devel/libfossdb -lfossdb -I`pg_config --includedir` -o dbtest
> gcc dbq.c -lpq -I`pg_config --includedir` -I../../devel/libfossdb
> -L../../devel/libfossdb -lfossdb -I`pg_config --includedir` -o dbq
> gcc dbcheck.c -lpq -I`pg_config --includedir` -I../../devel/libfossdb
> -L../../devel/libfossdb -lfossdb -I`pg_config --includedir` -o dbcheck
> make[2]: Leaving directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfossdb'
> make -C libfossrepo
> make[2]: Entering directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfossrepo'
> gcc -c libfossrepo.c -DFOSSREPO_CONF='"/usr/local/etc/fossology"'
> -DFOSSGROUP='"fossy"' -fPIC -DSVN_REV="\"1.3.0, exported\"" -g -O2 -Wall
> ar cr libfossrepo.a libfossrepo.o
> gcc reppath.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o reppath
> gcc repwrite.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o repwrite
> gcc repcat.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o repcat
> gcc repexist.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o repexist
> gcc repcopyin.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o repcopyin
> gcc repremove.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o repremove
> gcc rephost.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o rephost
> gcc repmmapcheck.c -I../../devel/libfossrepo -L../../devel/libfossrepo
> -lfossrepo -o repmmapcheck
> make[2]: Leaving directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfossrepo'
> make -C libfossagent
> make[2]: Entering directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfossagent'
> gcc -c libfossagent.c -I`pg_config --includedir` -I../../devel/libfossdb
> -L../../devel/libfossdb -lfossdb -I../../devel/libfossrepo
> -L../../devel/libfossrepo -lfossrepo -fPIC -DSVN_REV="\"1.3.0, exported
> \"" -g -O2 -Wall
> ar cr libfossagent.a libfossagent.o
> make[2]: Leaving directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfossagent'
> make -C libfosspython
> make[2]: Entering directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfosspython'
> python setup.py build_ext --inplace
> running build_ext
> pyrexc libfosspython.pyx --> libfosspython.c
> /home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfosspython/libfosspython.pyx:156:4:
>  __new__ method of extension type will change semantics in a future version 
> of Pyrex. Use __cinit__ instead.
> building 'libfosspython' extension
> creating build
> creating build/temp.linux-x86_64-2.7
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
> -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/postgresql
> -I/usr/include/python2.7 -c libfosspython.c -o
> build/temp.linux-x86_64-2.7/libfosspython.o
> libfosspython.c:1:2: error: #error Do not use this file, it is the
> result of a failed Pyrex compilation.
> error: command 'gcc' failed with exit status 1
> make[2]: *** [libfosspython.so] Error 1
> make[2]: Leaving directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel/libfosspython'
> make[1]: *** [build-libfosspython] Error 2
> make[1]: Leaving directory
> `/home/local/ONVZ/jbaten/src/java/license-check/fossology-1.3.0/devel'
> make: *** [build-devel] Error 2
> [jbaten@htn-ws-3092 fossology-1.3.0]$
> _______________________________________________
> fossology mailing list
> fossology@fossology.org
> http://fossology.org/mailman/listinfo/fossology

_______________________________________________
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology

Reply via email to