failing configure..

Tor Harald Thorland linux at strigen.com
Sat Jan 21 14:44:13 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Found the fault, the error was me who hasn't installed the C
compiler... But why doesn't it give a more clearly error when a major
package like this is missing.

I have now got onto the make, and gets the following error: (with the
latest svn Rev. 12924.... I can't see anything I reco... in the text
output.. and I hope I have managed to install all the packages I need
to build....

make[3]: Leaving directory `/home/tortho/source/gnucash/src/test-core'
Making all in engine
make[3]: Entering directory `/home/tortho/source/gnucash/src/engine'
chmod u+x ./iso-currencies-to-c
GUILE_LOAD_PATH=: srcdir=. ./iso-currencies-to-c
rm -f gnucash g-wrapped
ln -sf . gnucash
ln -sf . g-wrapped
touch .scm-links
FLAVOR=gnome /usr/bin/guile -c \
 "(set! %load-path (cons \"/usr/share/guile/site\" %load-path)) \
 (set! %load-path (cons \"/home/tortho/source/gnucash/src/engine\"
%load-path)) \
 (primitive-load \"./gw-engine-spec.scm\") \
 (gw:generate-wrapset \"gw-engine\")"
sh: indent: command not found

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
FLAVOR=gnome /usr/bin/guile -c \
 "(set! %load-path (cons \"/usr/share/guile/site\" %load-path)) \
 (set! %load-path (cons \"/home/tortho/source/gnucash/src/engine\"
%load-path)) \
 (primitive-load \"./gw-kvp-spec.scm\") \
 (gw:generate-wrapset \"gw-kvp\")"
sh: indent: command not found

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
rm -f gncla-dir.h.tmp
sed < gncla-dir.h.in > gncla-dir.h.tmp \
                -e 's:@-libdir-@:/opt/gnucash-1.9/lib:g'
mv gncla-dir.h.tmp gncla-dir.h
make  all-recursive
make[4]: Entering directory `/home/tortho/source/gnucash/src/engine'
Making all in .
make[5]: Entering directory `/home/tortho/source/gnucash/src/engine'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
- -I. -I. -I. ./.. -I../.. -I../.. -I../..    -I../../lib/libc
- -I../../src/core-utils -I../../ src -I../../src/gnc-module
- -I../../src/business/business-core/ -I../../lib/libqo f/qof -DGNUCASH
- -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -
std=gnu99    -g -O2 -g -Wall -Wunused -Wmissing-prototypes
- -Wmissing-declaration s   -Werror -Wdeclaration-after-statement
- -Wno-pointer-sign -MT gw-engine.lo -MD  -MP -MF ".deps/gw-engine.Tpo"
- -c -o gw-engine.lo gw-engine.c; \
then mv -f ".deps/gw-engine.Tpo" ".deps/gw-engine.Plo"; else rm -f
".deps/gw-eng ine.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../..
- -I../../lib/libc -I ../../src/core-utils -I../../src
- -I../../src/gnc-module -I../../src/business/bus iness-core/
- -I../../lib/libqof/qof -DGNUCASH -pthread -I/usr/include/glib-2.0 -I
/usr/lib/glib-2.0/include -std=gnu99 -g -O2 -g -Wall -Wunused
- -Wmissing-prototyp es -Wmissing-declarations -Werror
- -Wdeclaration-after-statement -Wno-pointer-sig n -MT gw-engine.lo -MD
- -MP -MF .deps/gw-engine.Tpo -c gw-engine.c  -fPIC -DPIC - o
.libs/gw-engine.o
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
- -I. -I. -I. ./.. -I../.. -I../.. -I../..    -I../../lib/libc
- -I../../src/core-utils -I../../ src -I../../src/gnc-module
- -I../../src/business/business-core/ -I../../lib/libqo f/qof -DGNUCASH
- -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -
std=gnu99    -g -O2 -g -Wall -Wunused -Wmissing-prototypes
- -Wmissing-declaration s   -Werror -Wdeclaration-after-statement
- -Wno-pointer-sign -MT engine-helpers.l o -MD -MP -MF
".deps/engine-helpers.Tpo" -c -o engine-helpers.lo engine-helpers. c; \
then mv -f ".deps/engine-helpers.Tpo" ".deps/engine-helpers.Plo"; else
rm -f ".d eps/engine-helpers.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../..
- -I../../lib/libc -I ../../src/core-utils -I../../src
- -I../../src/gnc-module -I../../src/business/bus iness-core/
- -I../../lib/libqof/qof -DGNUCASH -pthread -I/usr/include/glib-2.0 -I
/usr/lib/glib-2.0/include -std=gnu99 -g -O2 -g -Wall -Wunused
- -Wmissing-prototyp es -Wmissing-declarations -Werror
- -Wdeclaration-after-statement -Wno-pointer-sig n -MT engine-helpers.lo
- -MD -MP -MF .deps/engine-helpers.Tpo -c engine-helpers.c   -fPIC -DPIC
- -o .libs/engine-helpers.o
engine-helpers.c:27:24: error: g-wrap-wct.h: No such file or directory
cc1: warnings being treated as errors
engine-helpers.c: In function 'gnc_scm_traversal_adapter':
engine-helpers.c:2075: warning: implicit declaration of function
'gw_wcp_assimil ate_ptr'
engine-helpers.c:2075: warning: assignment makes pointer from integer
without a cast
engine-helpers.c: In function 'gnc_scm_to_commodity':
engine-helpers.c:2274: warning: implicit declaration of function
'gw_wcp_is_of_t ype_p'
engine-helpers.c:2278: warning: implicit declaration of function
'gw_wcp_get_ptr '
engine-helpers.c:2278: warning: return makes pointer from integer
without a cast
engine-helpers.c: In function 'gnc_commodity_to_scm':
engine-helpers.c:2298: warning: return makes pointer from integer
without a cast
engine-helpers.c: In function 'gnc_book_to_scm':
engine-helpers.c:2321: warning: return makes pointer from integer
without a cast
engine-helpers.c: In function 'qof_session_to_scm':
engine-helpers.c:2344: warning: return makes pointer from integer
without a cast
make[5]: *** [engine-helpers.lo] Error 1
make[5]: Leaving directory `/home/tortho/source/gnucash/src/engine'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tortho/source/gnucash/src/engine'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/tortho/source/gnucash/src/engine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tortho/source/gnucash/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tortho/source/gnucash'
make: *** [all] Error 2
tortho at inspiron:~/source/gnucash$


Christian Stimming wrote:

> Can you please post your gzip'd config.log?
>
> Also, you can look into that file yourself. The abort message of
> the configure check can be found at approx. 2/3 into the file. I'd
> guess either you have bad configure flags in your environment
> variables (like CPPFLAGS=-Werror, see my post earlier this week),
> or the installation of the c++ compiler is errorneous.
>
> Christian
>
> Tor Harald Thorland schrieb:
>

> Hi,
>
> Can someone please advice me what to do, and what this sanity check
> is?
>
> I'm trying to build the latest revision from svn on a newly
> installed Ubuntu system.
>
> checking dependency style of g++... none checking how to run the
> C++ preprocessor... /lib/cpp configure: error: C++ preprocessor
> "/lib/cpp" fails sanity check See `config.log' for more details.
> tortho at inspiron:~/gnucash$
>
>
> Tor Harald

>>
_______________________________________________
gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD0o8Khq1MDwOKNrYRAhbSAJ9i/YgylhvaMM5i2Tlev/x47ZB1YQCeMwMS
uyj0VTGlkYrdjVu9AQz3f0w=
=OoNl
-----END PGP SIGNATURE-----



More information about the gnucash-devel mailing list