Karl Hegbloom | 11 Jun 16:57 2016
Picon
Gravatar

Fwd: [KarlHegbloom/texmacs] Use CMake to build TeXmacs (#6)



---------- Forwarded message ---------
From: Darcy Shen <notifications <at> github.com>
Date: Sat, Jun 11, 2016, 06:43
Subject: [KarlHegbloom/texmacs] Use CMake to build TeXmacs (#6)
To: KarlHegbloom/texmacs <texmacs <at> noreply.github.com>


It works on my debian sid. And should also works on Ubuntu 16.04.

You can view, comment on, or merge this pull request online at:

  https://github.com/KarlHegbloom/texmacs/pull/6

Commit Summary

  • add kdev4 files to gitignore
  • successfully build texmacs using cmake
  • make it installable

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 11 Jun 01:31 2016
Picon
Gravatar

Cmake

Cmake.

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 10 Jun 05:41 2016
Picon
Gravatar

[patch] Fixes iconv

Today's svn trunk does not build for me. See the attached txt file for the log. My tree does build. I copied the iconv.m4 file from /usr/share/aclocal, along with the others that it depends on, reran autoconf and it builds. The /usr/share/aclocal/iconv.m4 belongs to the Ubuntu "gettext" package.

Attached are the log from trying to build svn trunk, and the diff of the relevant files between the svn-trunk tree and my "syrinx" tree. I'm not trying to fork the program; just keep my tinkering isolated until I know it's viable to submit patches from. It's of course there to be drawn from at will: https://github.com/KarlHegbloom/texmacs


karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn$ git status
On branch test-build-svn-trunk
Untracked files:
  (use "git add <file>..." to include in what will be committed)

	src/BROWSE
	src/cscope.files
	src/cscope.out
	src/cscope.out.in
	src/cscope.out.po
	src/debian
	texmacs_1.99.4-1-svn-10438-git-10448-5d08e11_amd64.deb
	texmacs_1.99.4-1-svn-10440-git-10451-1f33630_amd64.deb
	texmacs_1.99.4-1-svn-10447-git-10460-4cf21e4_amd64.deb
	texmacs_1.99.4-1-svn-10447-git-10461-f0fca1a_amd64.deb

nothing added to commit but untracked files present (use "git add" to track)
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn$ git diff svn-trunk test-build-svn-trunk
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn$ fakeroot debian/rules build
/usr/bin/fakeroot: line 175: debian/rules: No such file or directory
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn$ cd src
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn/src$ fakeroot debian/rules build
dh --parallel build 
   dh_testdir
   dh_update_autotools_config
	install -d debian/.debhelper/bucket/files
	cp -an --reflink=auto config.guess debian/.debhelper/bucket/files/1bc22d719eae222283f8c5374fed7f49fbe2a5b365d7fbdf8f7ece10714f8b2a.tmp
	mv -f debian/.debhelper/bucket/files/1bc22d719eae222283f8c5374fed7f49fbe2a5b365d7fbdf8f7ece10714f8b2a.tmp debian/.debhelper/bucket/files/1bc22d719eae222283f8c5374fed7f49fbe2a5b365d7fbdf8f7ece10714f8b2a
	cp -f /usr/share/misc/config.guess ./config.guess
	cp -an --reflink=auto misc/autotroll/config.guess debian/.debhelper/bucket/files/b6432e2766ed3a68f05abcf2705ddd7e56f50d0f19f6bed77811371e0aac6a46.tmp
	mv -f debian/.debhelper/bucket/files/b6432e2766ed3a68f05abcf2705ddd7e56f50d0f19f6bed77811371e0aac6a46.tmp debian/.debhelper/bucket/files/b6432e2766ed3a68f05abcf2705ddd7e56f50d0f19f6bed77811371e0aac6a46
	cp -f /usr/share/misc/config.guess ./misc/autotroll/config.guess
	cp -an --reflink=auto misc/tm-devel-mac/config.guess debian/.debhelper/bucket/files/57cc3642a532babb5ec0db80ebefd7ad7dc2b110e85bdc438fe67221e6172a3f.tmp
	mv -f debian/.debhelper/bucket/files/57cc3642a532babb5ec0db80ebefd7ad7dc2b110e85bdc438fe67221e6172a3f.tmp debian/.debhelper/bucket/files/57cc3642a532babb5ec0db80ebefd7ad7dc2b110e85bdc438fe67221e6172a3f
	cp -f /usr/share/misc/config.guess ./misc/tm-devel-mac/config.guess
	cp -an --reflink=auto config.sub debian/.debhelper/bucket/files/50718e102d4399504e4a958fe72e8adf7c2bc7a82ae26627461d895b83200106.tmp
	mv -f debian/.debhelper/bucket/files/50718e102d4399504e4a958fe72e8adf7c2bc7a82ae26627461d895b83200106.tmp debian/.debhelper/bucket/files/50718e102d4399504e4a958fe72e8adf7c2bc7a82ae26627461d895b83200106
	cp -f /usr/share/misc/config.sub ./config.sub
	cp -an --reflink=auto misc/autotroll/config.sub debian/.debhelper/bucket/files/a1c8687428d71ad2634cd0df2f2d3b0ab468f9470e38cd09f7f125569cd37991.tmp
	mv -f debian/.debhelper/bucket/files/a1c8687428d71ad2634cd0df2f2d3b0ab468f9470e38cd09f7f125569cd37991.tmp debian/.debhelper/bucket/files/a1c8687428d71ad2634cd0df2f2d3b0ab468f9470e38cd09f7f125569cd37991
	cp -f /usr/share/misc/config.sub ./misc/autotroll/config.sub
   dh_auto_configure
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/texmacs --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking current Subversion revision number... Unversioned directory
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for clang... no
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking for clang++... no
checking for g++... g++
checking whether we are using the GNU Objective C++ compiler... no
checking whether g++ accepts -g... no
checking whether GNU C++ compiler is default... yes
checking version of gcc... 5.3.1
checking version of g++... 5.3.1
checking for C++ stack backtrace support... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 for guile18-config... no
checking for guile-config... guile-config
checking whether C++ compiler accepts -pthread... yes
checking whether C++ compiler accepts -pthread... (cached) yes
configure: Guile version 1.8
configure: Guile effective version 1.8.8
configure: Guile data path: /usr/share/guile/1.8
configure: skipping presence test for the library m
configure: skipping presence test for the library crypt
checking for __gmpf_init in -lgmp... yes
configure: skipping presence test for the library ltdl
checking gh.h usability... yes
checking gh.h presence... yes
checking for gh.h... yes
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking Guile linking... yes
checking Guile DOTS linking... no
checking for Guile size type... size_t
checking for X... libraries , headers 
dirname: missing operand
Try 'dirname --help' for more information.
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking for FILE... yes
checking for intptr_t... yes
checking for time_t... yes
checking for X... libraries /usr/././lib, headers /usr/././include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for gettimeofday... yes
checking for library containing dlopen... no
checking for library containing dld_link... no
checking for library containing shl_load... no
configure: warning: dynamic linking using dlopen will not work
mktemp: too few X's in template 'texmacs'
checking for iconv.h... no
rm: missing operand
Try 'rm --help' for more information.
configure: error: use with-iconv=iconv_base_path (i.e /usr/local) to specify your icon location.
Use with-iconv=no to ignore iconv.
	"tail -v -n +0 config.log"
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/texmacs --disable-maintainer-mode --disable-dependency-tracking

## --------- ##
## Platform. ##
## --------- ##

hostname = syrinx
uname -m = x86_64
uname -r = 4.4.0-22-lowlatency-tuxonice
uname -s = Linux
uname -v = #40~ppa1-Ubuntu SMP PREEMPT Wed May 18 02:54:56 UTC 2016

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/karlheg/gopath
PATH: /home/karlheg/gopath/bin
PATH: /home/karlheg/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /apps/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2827: checking build system type
configure:2841: result: x86_64-pc-linux-gnu
configure:2861: checking host system type
configure:2874: result: x86_64-pc-linux-gnu
configure:2899: checking current Subversion revision number
configure:2909: result: Unversioned directory
configure:2989: checking for gcc
configure:3005: found /usr/bin/gcc
configure:3016: result: gcc
configure:3245: checking for C compiler version
configure:3254: gcc --version >&5
gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3265: $? = 0
configure:3254: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) 
configure:3265: $? = 0
configure:3254: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3265: $? = 1
configure:3254: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3265: $? = 1
configure:3285: checking whether the C compiler works
configure:3307: gcc    conftest.c  >&5
configure:3311: $? = 0
configure:3359: result: yes
configure:3362: checking for C compiler default output file name
configure:3364: result: a.out
configure:3370: checking for suffix of executables
configure:3377: gcc -o conftest    conftest.c  >&5
configure:3381: $? = 0
configure:3403: result: 
configure:3425: checking whether we are cross compiling
configure:3433: gcc -o conftest    conftest.c  >&5
configure:3437: $? = 0
configure:3444: ./conftest
configure:3448: $? = 0
configure:3463: result: no
configure:3468: checking for suffix of object files
configure:3490: gcc -c   conftest.c >&5
configure:3494: $? = 0
configure:3515: result: o
configure:3519: checking whether we are using the GNU C compiler
configure:3538: gcc -c   conftest.c >&5
configure:3538: $? = 0
configure:3547: result: yes
configure:3556: checking whether gcc accepts -g
configure:3576: gcc -c -g  conftest.c >&5
configure:3576: $? = 0
configure:3617: result: yes
configure:3634: checking for gcc option to accept ISO C89
configure:3697: gcc  -c -g -O2  conftest.c >&5
configure:3697: $? = 0
configure:3710: result: none needed
configure:3788: checking for g++
configure:3804: found /usr/bin/g++
configure:3815: result: g++
configure:3842: checking for C++ compiler version
configure:3851: g++ --version >&5
g++ (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3862: $? = 0
configure:3851: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) 
configure:3862: $? = 0
configure:3851: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3862: $? = 1
configure:3851: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3862: $? = 1
configure:3866: checking whether we are using the GNU C++ compiler
configure:3885: g++ -c   conftest.cpp >&5
configure:3885: $? = 0
configure:3894: result: yes
configure:3903: checking whether g++ accepts -g
configure:3923: g++ -c -g  conftest.cpp >&5
configure:3923: $? = 0
configure:3964: result: yes
configure:4041: checking for clang
configure:4071: result: no
configure:4041: checking for gcc
configure:4057: found /usr/bin/gcc
configure:4068: result: gcc
configure:4093: checking for Objective C compiler version
configure:4102: gcc --version >&5
gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4113: $? = 0
configure:4102: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) 
configure:4113: $? = 0
configure:4102: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4113: $? = 1
configure:4102: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4113: $? = 1
configure:4117: checking whether we are using the GNU Objective C compiler
configure:4136: gcc -c   conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4136: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:4145: result: no
configure:4154: checking whether gcc accepts -g
configure:4174: gcc -c -g  conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4174: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4189: gcc -c   conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4189: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4205: gcc -c -g  conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4205: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4215: result: no
configure:4292: checking for clang++
configure:4322: result: no
configure:4292: checking for g++
configure:4308: found /usr/bin/g++
configure:4319: result: g++
configure:4344: checking for Objective C++ compiler version
configure:4353: g++ --version >&5
g++ (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4364: $? = 0
configure:4353: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) 
configure:4364: $? = 0
configure:4353: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4364: $? = 1
configure:4353: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:4364: $? = 1
configure:4368: checking whether we are using the GNU Objective C++ compiler
configure:4387: g++ -c   conftest.mm >&5
g++: error trying to exec 'cc1objplus': execvp: No such file or directory
configure:4387: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:4396: result: no
configure:4405: checking whether g++ accepts -g
configure:4425: g++ -c -g  conftest.mm >&5
g++: error trying to exec 'cc1objplus': execvp: No such file or directory
configure:4425: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4440: g++ -c   conftest.mm >&5
g++: error trying to exec 'cc1objplus': execvp: No such file or directory
configure:4440: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4456: g++ -c -g  conftest.mm >&5
g++: error trying to exec 'cc1objplus': execvp: No such file or directory
configure:4456: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4466: result: no
configure:4496: checking whether GNU C++ compiler is default
configure:4502: result: yes
configure:4504: checking version of gcc
configure:4506: result: 5.3.1
configure:4508: checking version of g++
configure:4510: result: 5.3.1
configure:4531: checking for C++ stack backtrace support
configure:4601: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:4601: $? = 0
configure:4601: ./conftest
stack trace:
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xf0
  ./conftest() [0x4009b9]
configure:4601: $? = 0
configure:4603: result: yes
configure:4629: checking how to run the C++ preprocessor
configure:4656: g++ -E  conftest.cpp
configure:4656: $? = 0
configure:4670: g++ -E  conftest.cpp
conftest.cpp:10:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4670: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4695: result: g++ -E
configure:4715: g++ -E  conftest.cpp
configure:4715: $? = 0
configure:4729: g++ -E  conftest.cpp
conftest.cpp:10:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4729: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4758: checking for grep that handles long lines and -e
configure:4816: result: /bin/grep
configure:4821: checking for egrep
configure:4883: result: /bin/grep -E
configure:4888: checking for ANSI C header files
configure:4908: g++ -c -g -O2  conftest.cpp >&5
configure:4908: $? = 0
configure:4981: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:4981: $? = 0
configure:4981: ./conftest
configure:4981: $? = 0
configure:4992: result: yes
configure:5005: checking for sys/types.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for sys/stat.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for stdlib.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for string.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for memory.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for strings.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for inttypes.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for stdint.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5005: checking for unistd.h
configure:5005: g++ -c -g -O2  conftest.cpp >&5
configure:5005: $? = 0
configure:5005: result: yes
configure:5034: checking for guile18-config
configure:5064: result: no
configure:5034: checking for guile-config
configure:5050: found /usr/bin/guile-config
configure:5061: result: guile-config
configure:5298: checking whether C++ compiler accepts -pthread
configure:5317: g++ -c -g -O2  -pthread  conftest.cpp >&5
configure:5317: $? = 0
configure:5326: result: yes
configure:5356: : GUILE_TMP_CXXFLAGS="$GUILE_TMP_CXXFLAGS"
configure:5359: $? = 0
configure:5136: : GUILE_TMP_LIBS="$GUILE_TMP_LIBS"
configure:5139: $? = 0
configure:5125: : GUILE_TMP_LIBS="$GUILE_TMP_LIBS"
configure:5128: $? = 0
configure:5125: : GUILE_TMP_LIBS="$GUILE_TMP_LIBS"
configure:5128: $? = 0
configure:5125: : GUILE_TMP_LIBS="$GUILE_TMP_LIBS"
configure:5128: $? = 0
configure:5125: : GUILE_TMP_LIBS="$GUILE_TMP_LIBS"
configure:5128: $? = 0
configure:5117: : GUILE_TMP_LIBS already contains $LC_SCATTER_FLAGS_flag
configure:5120: $? = 0
configure:5298: checking whether C++ compiler accepts -pthread
configure:5326: result: yes
configure:5337: : GUILE_TMP_CXXFLAGS already contains $LC_SCATTER_FLAGS_flag
configure:5340: $? = 0
configure:5210: : GUILE_TMP_CPPFLAGS="$GUILE_TMP_CPPFLAGS"
configure:5213: $? = 0
configure:5443: : GUILE_CPPFLAGS="$GUILE_CPPFLAGS"
configure:5446: $? = 0
configure:5495: Guile version 1.8
configure:5497: Guile effective version 1.8.8
configure:5520: Guile data path: /usr/share/guile/1.8
configure:6222: skipping presence test for the library m
configure:6382: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6385: $? = 0
configure:6222: skipping presence test for the library crypt
configure:6285: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6288: $? = 0
configure:6371: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6374: $? = 0
configure:6175: checking for __gmpf_init in -lgmp
configure:6200: g++ -o conftest -pthread -I/usr/include/guile -I/usr/include/guile/guile  conftest.cpp -lgmp  -lcrypt -lm  >&5
configure:6200: $? = 0
configure:6209: result: yes
configure:6222: skipping presence test for the library ltdl
configure:6285: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6288: $? = 0
configure:6274: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6277: $? = 0
configure:6274: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6277: $? = 0
configure:6371: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6374: $? = 0
configure:6647: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6650: $? = 0
configure:6636: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6639: $? = 0
configure:6636: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6639: $? = 0
configure:6636: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6639: $? = 0
configure:6733: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:6736: $? = 0
configure:6919: checking gh.h usability
configure:6919: g++ -c -pthread -I/usr/include/guile -I/usr/include/guile/guile conftest.cpp >&5
configure:6919: $? = 0
configure:6919: result: yes
configure:6919: checking gh.h presence
configure:6919: g++ -E -I/usr/include/guile -I/usr/include/guile/guile conftest.cpp
configure:6919: $? = 0
configure:6919: result: yes
configure:6919: checking for gh.h
configure:6919: result: yes
configure:6923: checking libguile.h usability
configure:6923: g++ -c -pthread -I/usr/include/guile -I/usr/include/guile/guile conftest.cpp >&5
configure:6923: $? = 0
configure:6923: result: yes
configure:6923: checking libguile.h presence
configure:6923: g++ -E -I/usr/include/guile -I/usr/include/guile/guile conftest.cpp
configure:6923: $? = 0
configure:6923: result: yes
configure:6923: checking for libguile.h
configure:6923: result: yes
configure:6927: checking Guile linking
configure:6950: g++ -o conftest -pthread -I/usr/include/guile -I/usr/include/guile/guile  conftest.cpp -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:6950: $? = 0
configure:6951: result: yes
configure:6955: checking Guile DOTS linking
configure:6982: g++ -o conftest -pthread -I/usr/include/guile -I/usr/include/guile/guile  conftest.cpp -lguile -lltdl -lgmp -lcrypt -lm  >&5
conftest.cpp: In function 'void declare()':
conftest.cpp:30:71: error: invalid conversion from 'FN {aka scm_unused_struct* (*)(...)}' to 'scm_unused_struct* (*)()' [-fpermissive]
 void declare () { gh_new_procedure ("identity", (FN) identity, 1, 0, 0); }
                                                                       ^
In file included from conftest.cpp:24:0:
/usr/include/guile/gh.h:63:13: note:   initializing argument 2 of 'scm_unused_struct* gh_new_procedure(const char*, scm_unused_struct* (*)(), int, int, int)'
 SCM_API SCM gh_new_procedure(const char *proc_name, SCM (*fn)(),
             ^
configure:6982: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| /* end confdefs.h.  */
| 
| #include <gh.h>
| #include <libguile.h>
| 
| typedef SCM (*FN)(...);
| 
| static SCM identity (SCM x) { return x; }
| void declare () { gh_new_procedure ("identity", (FN) identity, 1, 0, 0); }
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:6991: result: no
configure:7029: g++ -o conftest -pthread -I/usr/include/guile -I/usr/include/guile/guile  conftest.cpp -lguile -lltdl -lgmp -lcrypt -lm  >&5
conftest.cpp: In function 'void print_string(SCM)':
conftest.cpp:29:36: error: cannot convert 'int*' to 'size_t* {aka long unsigned int*}' for argument '2' to 'char* gh_scm2newstr(SCM, size_t*)'
   char* r= gh_scm2newstr (s, &len_r);
                                    ^
configure:7029: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| /* end confdefs.h.  */
| 
| #include <gh.h>
| #include <libguile.h>
| 
| void print_string (SCM s) {
|   int len_r;
|   char* r= gh_scm2newstr (s, &len_r);
| }
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:7042: result: checking for Guile size type... size_t
configure:7590: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:7593: $? = 0
configure:7579: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:7582: $? = 0
configure:7579: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:7582: $? = 0
configure:7579: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:7582: $? = 0
configure:7579: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:7582: $? = 0
configure:7831: checking for X
configure:7939: g++ -E  conftest.cpp
configure:7939: $? = 0
configure:7970: g++ -o conftest    conftest.cpp -lX11  >&5
configure:7970: $? = 0
configure:8020: result: libraries , headers 
configure:8039: checking X11/Xlib.h usability
configure:8039: g++ -c  -I/usr/././include conftest.cpp >&5
configure:8039: $? = 0
configure:8039: result: yes
configure:8039: checking X11/Xlib.h presence
configure:8039: g++ -E -I/usr/././include conftest.cpp
configure:8039: $? = 0
configure:8039: result: yes
configure:8039: checking for X11/Xlib.h
configure:8039: result: yes
configure:8039: checking X11/Xutil.h usability
configure:8039: g++ -c  -I/usr/././include conftest.cpp >&5
configure:8039: $? = 0
configure:8039: result: yes
configure:8039: checking X11/Xutil.h presence
configure:8039: g++ -E -I/usr/././include conftest.cpp
configure:8039: $? = 0
configure:8039: result: yes
configure:8039: checking for X11/Xutil.h
configure:8039: result: yes
configure:8220: : X11_CPPFLAGS="$X11_CPPFLAGS"
configure:8223: $? = 0
configure:8183: : X11_LDFLAGS="$X11_LDFLAGS"
configure:8186: $? = 0
configure:8146: : X11_LIBS="$X11_LIBS"
configure:8149: $? = 0
configure:8135: : X11_LIBS="$X11_LIBS"
configure:8138: $? = 0
configure:8838: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8841: $? = 0
configure:8827: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8830: $? = 0
configure:8827: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8830: $? = 0
configure:8827: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8830: $? = 0
configure:8827: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8830: $? = 0
configure:8924: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8927: $? = 0
configure:8924: : LC_PREPEND_LIST_nlist="$LC_PREPEND_LIST_nlist"
configure:8927: $? = 0
configure:9111: checking for FILE
configure:9111: g++ -c -g -O2  conftest.cpp >&5
configure:9111: $? = 0
configure:9111: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:62:18: error: expected primary-expression before ')' token
 if (sizeof ((FILE)))
                  ^
configure:9111: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((FILE)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9111: result: yes
configure:9121: checking for intptr_t
configure:9121: g++ -c -g -O2  conftest.cpp >&5
configure:9121: $? = 0
configure:9121: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:63:22: error: expected primary-expression before ')' token
 if (sizeof ((intptr_t)))
                      ^
configure:9121: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((intptr_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9121: result: yes
configure:9131: checking for time_t
configure:9131: g++ -c -g -O2  conftest.cpp >&5
configure:9131: $? = 0
configure:9131: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:64:20: error: expected primary-expression before ')' token
 if (sizeof ((time_t)))
                    ^
configure:9131: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((time_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9131: result: yes
configure:9141: checking for X
configure:9330: result: libraries /usr/././lib, headers /usr/././include
configure:9350: checking whether -R must be followed by a space
configure:9366: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  -R/usr/././lib >&5
g++: error: unrecognized command line option '-R'
configure:9366: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:9383: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  -R /usr/././lib >&5
g++: error: unrecognized command line option '-R'
configure:9383: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:9388: result: neither works
configure:9429: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm   -L/usr/././lib -lX11 >&5
configure:9429: $? = 0
configure:9527: checking for gethostbyname
configure:9527: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:9527: $? = 0
configure:9527: result: yes
configure:9624: checking for connect
configure:9624: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:9624: $? = 0
configure:9624: result: yes
configure:9673: checking for remove
configure:9673: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:9673: $? = 0
configure:9673: result: yes
configure:9722: checking for shmat
configure:9722: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:9722: $? = 0
configure:9722: result: yes
configure:9780: checking for IceConnectionNumber in -lICE
configure:9805: g++ -o conftest -g -O2   -L/usr/././lib conftest.cpp -lICE  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:9805: $? = 0
configure:9814: result: yes
configure:9827: checking pty.h usability
configure:9827: g++ -c -g -O2  conftest.cpp >&5
configure:9827: $? = 0
configure:9827: result: yes
configure:9827: checking pty.h presence
configure:9827: g++ -E  conftest.cpp
configure:9827: $? = 0
configure:9827: result: yes
configure:9827: checking for pty.h
configure:9827: result: yes
configure:9827: checking util.h usability
configure:9827: g++ -c -g -O2  conftest.cpp >&5
conftest.cpp:63:18: fatal error: util.h: No such file or directory
compilation terminated.
configure:9827: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <util.h>
configure:9827: result: no
configure:9827: checking util.h presence
configure:9827: g++ -E  conftest.cpp
conftest.cpp:30:18: fatal error: util.h: No such file or directory
compilation terminated.
configure:9827: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| /* end confdefs.h.  */
| #include <util.h>
configure:9827: result: no
configure:9827: checking for util.h
configure:9827: result: no
configure:9839: checking for gettimeofday
configure:9839: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9853: checking for library containing dlopen
configure:9884: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/tmp/ccxHephB.o: In function `main':
/home/karlheg/src/TeXmacs/texmacs-git-svn/src/conftest.cpp:42: undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
configure:9884: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:9884: g++ -o conftest -g -O2   conftest.cpp -llibdl  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/usr/bin/ld: cannot find -llibdl
collect2: error: ld returned 1 exit status
configure:9884: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:9884: g++ -o conftest -g -O2   conftest.cpp -llibdld  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/usr/bin/ld: cannot find -llibdld
collect2: error: ld returned 1 exit status
configure:9884: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:9901: result: no
configure:9911: checking for library containing dld_link
configure:9942: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/tmp/cc0O3vOJ.o: In function `main':
/home/karlheg/src/TeXmacs/texmacs-git-svn/src/conftest.cpp:42: undefined reference to `dld_link'
collect2: error: ld returned 1 exit status
configure:9942: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dld_link ();
| int
| main ()
| {
| return dld_link ();
|   ;
|   return 0;
| }
configure:9942: g++ -o conftest -g -O2   conftest.cpp -llibdl  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/usr/bin/ld: cannot find -llibdl
collect2: error: ld returned 1 exit status
configure:9942: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dld_link ();
| int
| main ()
| {
| return dld_link ();
|   ;
|   return 0;
| }
configure:9942: g++ -o conftest -g -O2   conftest.cpp -llibdld  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/usr/bin/ld: cannot find -llibdld
collect2: error: ld returned 1 exit status
configure:9942: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dld_link ();
| int
| main ()
| {
| return dld_link ();
|   ;
|   return 0;
| }
configure:9959: result: no
configure:9969: checking for library containing shl_load
configure:10000: g++ -o conftest -g -O2   conftest.cpp -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/tmp/ccnHVHoU.o: In function `main':
/home/karlheg/src/TeXmacs/texmacs-git-svn/src/conftest.cpp:42: undefined reference to `shl_load'
collect2: error: ld returned 1 exit status
configure:10000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:10000: g++ -o conftest -g -O2   conftest.cpp -llibdl  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/usr/bin/ld: cannot find -llibdl
collect2: error: ld returned 1 exit status
configure:10000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:10000: g++ -o conftest -g -O2   conftest.cpp -llibdld  -lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm  >&5
/usr/bin/ld: cannot find -llibdld
collect2: error: ld returned 1 exit status
configure:10000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:10017: result: no
configure:10092: checking for iconv.h
configure:10092: g++ -E  -I/include -I/opt/local/include -I/sw/include -MM -MF  conftest.cpp
g++: fatal error: no input files
compilation terminated.
configure:10092: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define USE_STACK_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define GUILE_C 1
| #define GUILE_NUM 0
| #define HAVE_LIBGMP 1
| #define guile_str_size_t size_t
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_FILE 1
| #define HAVE_INTPTR_T 1
| #define HAVE_TIME_T 1
| #define HAVE_PTY_H 1
| #define HAVE_GETTIMEOFDAY 1
| /* end confdefs.h.  */
| #include <iconv.h>
configure:10092: result: no
configure:13211: error: use with-iconv=iconv_base_path (i.e /usr/local) to specify your icon location.
Use with-iconv=no to ignore iconv.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCXXFLAGS_set=
ac_cv_env_OBJCXXFLAGS_value=
ac_cv_env_OBJCXX_set=
ac_cv_env_OBJCXX_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_TMPDIR_set=
ac_cv_env_TMPDIR_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_connect=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_remove=yes
ac_cv_func_shmat=yes
ac_cv_have_x='have_x=yes	ac_x_includes='\''/usr/././include'\''	ac_x_libraries='\''/usr/././lib'\'''
ac_cv_header_X11_Xlib_h=yes
ac_cv_header_X11_Xutil_h=yes
ac_cv_header_gh_h=yes
ac_cv_header_iconv_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_libguile_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_pty_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_util_h=no
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_gmp___gmpf_init=yes
ac_cv_objc_compiler_gnu=no
ac_cv_objcxx_compiler_gnu=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_OBJC=gcc
ac_cv_prog_ac_ct_OBJCXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_guile_config=guile-config
ac_cv_prog_objc_g=no
ac_cv_prog_objcxx_g=no
ac_cv_search_dld_link=no
ac_cv_search_dlopen=no
ac_cv_search_shl_load=no
ac_cv_type_FILE=yes
ac_cv_type_intptr_t=yes
ac_cv_type_time_t=yes
ax_cv_check_cxxflags___pthread=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AXEL_CFLAGS=''
AXEL_CPP=''
AXEL_CXX=''
AXEL_LDFLAGS=''
CAIRO_CFLAGS=''
CAIRO_CPP=''
CAIRO_CXX=''
CAIRO_LDFLAGS=''
CC='gcc'
CFLAGS='-g -O2'
COCOA_CFLAGS=''
COCOA_LDFLAGS=''
CONFIG_ARCHS=''
CONFIG_BFLAGS=''
CONFIG_BPATH=''
CONFIG_BSHARED=''
CONFIG_BSTATIC=''
CONFIG_CHMOD=''
CONFIG_COCOA=''
CONFIG_CXXDEBUG=''
CONFIG_CXXDIALECT=''
CONFIG_CXXFLAGS=''
CONFIG_CXXOPTIMIZE=''
CONFIG_CXXPROFILE=''
CONFIG_CXXTEMPLATE=''
CONFIG_CXXWARNING=''
CONFIG_DATE=''
CONFIG_EXPERIMENTAL=''
CONFIG_GS=''
CONFIG_GUI=''
CONFIG_GUILE_SERIAL='X'
CONFIG_GUI_DEFINE=''
CONFIG_HOST_CPU=''
CONFIG_HOST_OS=''
CONFIG_HOST_VENDOR=''
CONFIG_LDRT=''
CONFIG_LIB_PATH=''
CONFIG_MACOS=''
CONFIG_MAX_FAST=''
CONFIG_OS=''
CONFIG_OS_COMPAT=''
CONFIG_OS_SUFFIX=''
CONFIG_PDF=''
CONFIG_QT=''
CONFIG_SO=''
CONFIG_SPARKLE=''
CONFIG_STD_SETENV=''
CONFIG_STRIP=''
CONFIG_STYPE=''
CONFIG_USER=''
CONFIG_WORD_LENGTH=''
CONFIG_WORD_LENGTH_INC=''
CONFIG_WORD_MASK=''
CONFIG_X11=''
CPPFLAGS=' -I/include -I/opt/local/include -I/sw/include -MM -MF '
CXX='g++'
CXXCPP='g++ -E'
CXXFLAGS='-g -O2'
DEFS=''
DEVEL_RELEASE='1'
DEVEL_VERSION='1.99.4'
DEVEL_VERSION_MAJOR='1'
DEVEL_VERSION_MINOR='8'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FREETYPE_CFLAGS=''
FREETYPE_CPP=''
FREETYPE_CXX=''
FREETYPE_LDFLAGS=''
FREETYPE_tmp1=''
GREP='/bin/grep'
GS_DLL=''
GS_EXE=''
GUILE_BIN='guile'
GUILE_CFLAGS='-pthread -I/usr/include/guile -I/usr/include/guile/guile'
GUILE_CPP='-I/usr/include/guile -I/usr/include/guile/guile'
GUILE_CXX='-pthread'
GUILE_DATA_PATH='/usr/share/guile/1.8'
GUILE_LDFLAGS=''
ICONV_CFLAGS=''
ICONV_CPP=''
ICONV_CXX=''
ICONV_LDFLAGS=''
IMLIB2_CFLAGS=''
IMLIB2_CPP=''
IMLIB2_CXX=''
IMLIB2_LDFLAGS=''
LDFLAGS=''
LIBOBJS=''
LIBS='-lXext -lX11 -lguile -lltdl -lgmp -lcrypt -lm '
LTLIBOBJS=''
MOC=''
OBJC='gcc'
OBJCFLAGS=''
OBJCXX='g++'
OBJCXXFLAGS=''
OBJEXT='o'
PACKAGE='TeXmacs'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PDF_CFLAGS=''
PDF_CPP=''
PDF_CXX=''
PDF_LDFLAGS=''
QMAKE=''
QT_CFLAGS=''
QT_CPPFLAGS=''
QT_CXXFLAGS=''
QT_DEFINES=''
QT_FRAMEWORKS_PATH=''
QT_INCPATH=''
QT_LDFLAGS=''
QT_LFLAGS=''
QT_LIBS=''
QT_PATH=''
QT_PLUGINS_LIST=''
QT_PLUGINS_PATH=''
QT_VERSION_MAJOR=''
RCC=''
SHELL='/bin/bash'
SPARKLE_CFLAGS=''
SPARKLE_CPP=''
SPARKLE_CXX=''
SPARKLE_FRAMEWORK_PATH=''
SPARKLE_LDFLAGS=''
SQLITE3_CFLAGS=''
SQLITE3_CPP=''
SQLITE3_CXX=''
SQLITE3_LDFLAGS=''
STABLE_RELEASE='1'
STABLE_VERSION='1.99.4'
SVNREV='Unversioned directory'
TMPDIR=''
UIC=''
WINSPARKLE_DLL=''
WINSPARKLE_PATH=''
X11_CFLAGS=' -I/usr/././include'
X11_CPP='-I/usr/././include'
X11_CXX=''
X11_LDFLAGS=''
XMKMF=''
X_CFLAGS=' -I/usr/././include'
X_EXTRA_LIBS=''
X_LIBS=' -L/usr/././lib'
X_PRE_LIBS=' -lSM -lICE'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_OBJC='gcc'
ac_ct_OBJCXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
guile_config='guile-config'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${prefix}/lib/texmacs'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
tm_debian_name_devel=''
tm_devel=''
tm_devel_release=''
tm_stable=''
tm_stable_release=''
tm_underscore_devel=''
tm_underscore_stable=''
tmbin=''
tmdata=''
tmdir=''
tmorig=''
tmsrc=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define USE_STACK_TRACE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define GUILE_C 1
#define GUILE_NUM 0
#define HAVE_LIBGMP 1
#define guile_str_size_t size_t
#define HAVE_X11_XLIB_H 1
#define HAVE_X11_XUTIL_H 1
#define HAVE_FILE 1
#define HAVE_INTPTR_T 1
#define HAVE_TIME_T 1
#define HAVE_PTY_H 1
#define HAVE_GETTIMEOFDAY 1

configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/texmacs --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 25
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn/src$ ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-guile2=yes    enable compilation with Guile 2, for development
                          purposes
  --disable-fastalloc     omit fast allocator for small objects
  --enable-experimental   support new style rewriting code
  --disable-macosx-extensions
                          do not use Mac specific services (spellchecker,
                          image handling, ...)
  --enable-console        enable windows console
  --disable-qt            replace Qt by X11 interface
  --enable-QtPlugins[=list]
                          defaults plugins: imageformats, and possibly more
  --enable-qtpipes        replace UNIX pipes by Qt pipes
  --enable-cocoa          replace X11 by Cocoa interface
  --enable-pdf-renderer=yes
                          use hummus support for native pdf exports
  --enable-profile        enable gcc compilation flag for profiling with gprof
  --enable-debug[=ARG]    install a debugging enable executable [-ggdb]
  --enable-assert         exit on failed assertions in code
  --enable-warnings       print warning messages during compilation
  --enable-optimize[=ARG] compile with optimizations [guessed]

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-guile[=DIR]      where to find guile-config [system]
  --with-x                use the X Window System
  --with-iconv[=DIR]      where to find iconv []
  --with-freetype[DIR=]   where to find freetype-config []
  --with-cairo[=ARG]      with cairo support [ARG=no]
  --with-imlib2[=ARG]     with imlib2 support [ARG=no]
  --with-axel[=ARG]       with axel support [ARG=no]
  --with-gs[=DIR]         with ghostscript support []
  --with-sqlite3[=ARG]    with sqlite3 support [ARG=no]
  --with-sparkle[=ARG]    with (Win)Sparkle autoupdater [ARG=no]
  --with-qt               Path to Qt [Look in PATH and /usr/local/Trolltech]

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  OBJC        Objective C compiler command
  OBJCFLAGS   Objective C compiler flags
  OBJCXX      Objective C++ compiler command
  OBJCXXFLAGS Objective C++ compiler flags
  CXXCPP      C++ preprocessor
  XMKMF       Path to xmkmf, Makefile generator for X Window System
  TMPDIR      A temporary directory with write access [/tmp]

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to the package provider.
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn/src$ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/texmacs --disable-maintainer-mode --disable-dependency-tracking --with-iconv=/usr 
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking current Subversion revision number... Unversioned directory
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for clang... no
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking for clang++... no
checking for g++... g++
checking whether we are using the GNU Objective C++ compiler... no
checking whether g++ accepts -g... no
checking whether GNU C++ compiler is default... yes
checking version of gcc... 5.3.1
checking version of g++... 5.3.1
checking for C++ stack backtrace support... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 for guile18-config... no
checking for guile-config... guile-config
checking whether C++ compiler accepts -pthread... yes
checking whether C++ compiler accepts -pthread... (cached) yes
configure: Guile version 1.8
configure: Guile effective version 1.8.8
configure: Guile data path: /usr/share/guile/1.8
configure: skipping presence test for the library m
configure: skipping presence test for the library crypt
checking for __gmpf_init in -lgmp... yes
configure: skipping presence test for the library ltdl
checking gh.h usability... yes
checking gh.h presence... yes
checking for gh.h... yes
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking Guile linking... yes
checking Guile DOTS linking... no
checking for Guile size type... size_t
checking for X... libraries , headers 
dirname: missing operand
Try 'dirname --help' for more information.
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking for FILE... yes
checking for intptr_t... yes
checking for time_t... yes
checking for X... libraries /usr/././lib, headers /usr/././include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for gettimeofday... yes
checking for library containing dlopen... no
checking for library containing dld_link... no
checking for library containing shl_load... no
configure: warning: dynamic linking using dlopen will not work
mktemp: too few X's in template 'texmacs'
checking for iconv.h... no
rm: missing operand
Try 'rm --help' for more information.
configure: error: use with-iconv=iconv_base_path (i.e /usr/local) to specify your icon location.
Use with-iconv=no to ignore iconv.
karlheg <at> syrinx:~/src/TeXmacs/texmacs-git-svn/src$ 
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
kamaraju kusumanchi | 4 Jun 16:26 2016
Picon

debian packages of texmacs

I see that my name is mentioned in the maintainers of Debian package
of texmacs - http://www.texmacs.org/tmweb/download/linux.en.html#debian
. Could you please remove it? I stopped maintaining it a while ago. In
fact, Texmacs is removed from Debian unstable due to dependency on
guile-1.8 (Debian has moved to guile-2.0) and lack of maintainer
[1],[2].

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797833
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825252

thanks
raju
--

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
Karl Hegbloom | 25 May 05:26 2016
Picon
Gravatar

"<varspace>" in red?

In my zotero-texmacs-integration, when I set the CSL style to ISO-690, it outputs "ISBN" followed by a two-byte character, followed by the actual ISBN number. I'm taking the text it sends me, which is output via an output format specification that wraps the text as LaTeX "bbl", and transforming it into a TeXmacs tree with: (latex->texmacs (parse-latex str_text)).

In the result, I see, in red, <varspace>. When I catch the offending character in an Emacs terminal buffer, and run it through Guile's string->list, I get:  (#\302 #\240); and (map char->integer (string->list " ")) yields (194 160). As hexadecimal, those are 0xC2 0xA0. That is UTF-8 encoded NO-BREAK SPACE.

What this tells me is that TeXmacs is converting the UTF-8 Unicode character into one of it's internal things, but instead of it being rendered as an actual non-breakable space, I see the string <varspace> in red letters. I see the same thing when I paste that character into a document.

What's the matter? How can I fix this? I think that it's not seeing the encoding as being UTF-8 when it parses the LaTeX because the heuristics fail in this case, since it's not a whole document, but only a snippet of LaTeX. I want to control the encoding or run an explicit UTF-8 to Cork first.
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 19 May 03:42 2016
Picon
Gravatar

Segv in smart_font_rep:

I don't know what triggers this. svn trunk as of today.

Thread 1 "texmacs.bin" received signal SIGSEGV, Segmentation fault.
0x0000000000d6fd01 in unicode_font_rep::get_xpositions (this=0x50b26b0, s=..., xpos=0x7fffffffb0d4, ligf=true)
    at ./Plugins/Freetype/unicode_font.cpp:309
309        for (int j= start; j<i; j++) xpos[j]= x;
(gdb) where full
#0  0x0000000000d6fd01 in unicode_font_rep::get_xpositions(string, int*, bool) (this=0x50b26b0, s=..., xpos=0x7fffffffb0d4, ligf=true) at ./Plugins/Freetype/unicode_font.cpp:309
        j = 4043
        start = 0
        pc = 4294967295
        next = 0x39ca5f0
        i = 21442
        n = 20
        x = 0
        uc = 60
#1  0x0000000000d6fe03 in unicode_font_rep::get_xpositions(string, int*) (this=0x50b26b0, s=..., xpos=0x7fffffffb0d4)
    at ./Plugins/Freetype/unicode_font.cpp:319
#2  0x0000000000c54a36 in smart_font_rep::get_xpositions(string, int*) (this=0x4964718, s=..., xpos=0x7fffffffb0d0)
    at ./Graphics/Fonts/smart_font.cpp:1168
        nr = 4
        r = {rep = 0x4f03af8}
        start = 1
        x = 11197
        i = 21
        n = 21
#3  0x0000000000ca0284 in text_box_rep::find_box_path(int, int, int, bool, bool&) (this=
    0x0, x=0, y=0, delta=0, force=false, found= <at> 0x0: <error reading variable>) at ./Typeset/Boxes/Basic/text_boxes.cpp:194
Python Exception <class 'gdb.error'> value requires 85772 bytes, which is more than max-value-size:
        xpos = #4  0x0000000000000000 in  ()

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 9 May 02:33 2016
Picon
Gravatar

[patch] configure.in and configure Qt plugins check syntax fix

When only one slash is in the expression, it can only handle a list of 2 plugin names. Use two slashes to make it remove all of the commas so it can test each item of the entire list.
Attachment (configure-syntax-fix.diff): text/x-patch, 1033 bytes
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 8 May 00:54 2016
Picon
Gravatar

Development help request: Zotero interface, citations that make footnotes, other questions...

I'm working on a connector for TeXmacs with Juris-M / Zotero that will utilize the pre-existing TCP protocol that's there for the OpenOffice integration. The wire protocol is documented here:

  https://www.zotero.org/support/dev/client_coding/libreoffice_plugin_wire_protocol

The project is on Github. I've ported the guile json library to guile-1.8 so it can be used from TeXmacs, and I made a start on an rtf to texmacs converter, though I think it will be better to have Zotero send output as LaTeX (bbl), or even as TeXmacs scheme. It's easy enough to create a new output format. I have forked and patched versions of zotero and better-bibtex-for-zotero in my GitHub as well. Some patches to better-bibtex-for-zotero have been accepted; the one to Juris-M / Zotero is not ready until it's tested and working. I told them about it, and created a pull request, but said I don't expect them to apply it yet, just look at it and advise me. Also in my GitHub repositories is a "git svn" mirror of TeXmacs itself.


I'm not asking for anyone else to write the program for me... But if somebody makes a fork and writes something significant that this thing needs, I won't complain, no worries... mainly I need help understanding how to do some things that I'm having difficulty figuring out for myself through code reading and experimentation.

There's a scheme-session.tm file in my project directory that shows that I can send and receive commands with Zotero. I'm having trouble figuring out how to do the protocol loop. When I initiate the sequence by sending, e.g., an "addCitation" integration command, Zotero responds with a word processor command, to which the integration code must respond after processing it. It must stay in an IO loop with Zotero until it is issued a Document_complete and sends the JSON null response to that. At that point it does not need to listen for connections from Zotero until another integration command is sent by TeXmacs to Zotero. While it is in the word processor command mode, TeXmacs is not expected to accept input from the user until Zotero is done with the sequence of operations.

Q: How do I devise the loop that runs to handle the incoming word processor commands? Do I need to use 'delayed'? Please advise.

By 'delayed' here I mean the Scheme "delayed" macro I see all over the GUI widget code, and in the tm-server and tm-client codes. How does this interact with "select" to wait for information to arrive on a socket port? I need help designing this IO loop so that it won't cause TeXmacs to hang, and so it will be robust in case of things like Firefox crashing or being closed by the user, etc.


The other problem that I need to solve is that I'll have to save data in the document. I think I can mostly figure that out by looking over the database code, and the bibliography handling, saving it in the aux data or with a set-binding... I think that set-binding is for setting the strings that are displayed by an in-text citation... but for some CSL citation styles, the citation belongs in a footnote. Switching styles from a "note" style to an "in-text" style should make the citations flip between being in footnotes (or end-notes; see below) or being displayed in-text at the point where the cite tag appears.

My initial experiments with using set-binding from inside TeXmacs, right there in the buffer, show that I can set a binding to a footnote, and then later recall it with get-binding. But when I define one, then move up above it and define another one, then call on get-binding in a different order, the footnote numbers are not updated to reflect the new document order... So I think what I need is delayed evaluation... as in quote-arg with later eval...  Or what?

Should I use the already available 'label' -> 'reference' mechanism to display the citation text? Or is there a lower-level thing that it uses which I should use more directly?  When you look at the "scheme-session.tm" there, you'll see what it sends and what it expects to be kept, in a hidden part of the citation field, for later sending back to Zotero to re-initialize the state. I think that if I just use 'label' and 'reference' that it's not good since sometimes a citation needs to make it's own footnote, and really expanding 'reference' ought to only give back some text to display in-line, not a tree that makes a footnote. A tree with formatting, maybe...

Ideas please! I need help understanding this.

Thank you.
    Karl M. Hegbloom


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 12 Apr 16:58 2016
Picon
Gravatar

Fwd: Pdf-writer, tagged pdf?

[Gal, Can you join the texmacs-dev list to discuss it?]
[texmacs-dev, Please Cc Gal until and unless he joins the list.]

When I produce a PDF with TeXmacs (latest from svn) and use the "read aloud" feature of pdf-max pro on Android, it doesn't "see" the typographic ligatures, and pronounces words wrong. For example, "offense" becomes "o ense", dropping the "ff" ligature. I wrote to the author of the pdf-writer library that TeXmacs uses after reading a little about the problem using a Google search, and learning that there exists something called "tagged pdf" which I don't know much about yet; I'm too busy to read about it as much as I'd like to.

I hereby "put the phones together" on this.

---------- Forwarded message ---------
From: Gal Kahana <gal.kahana <at> hotmail.com>
Date: Tue, Apr 12, 2016 at 1:31 AM
Subject: RE: Pdf-writer, tagged pdf?
To: Karl Hegbloom <karl.hegbloom <at> gmail.com>


Hi,
PDF-Writer can allow adding tagged pdf content. yes.
However, for the problem at hand i think that the toUnicode map of a font should suffice, and in fact the library creates it when generating font representations and using the regular text characters.

Its either that what you are seeing is a bug in creating a unicode map in case of typographic ligatures usage, or that for some reason it is not created at all (maybe through and alternative text setup).

We need someone from TeXmacs to help us pinpoint the issue. Do you know anyone there and can communicate this to them?

Regards,
Gal.

Date: Sun, 10 Apr 2016 15:54:52 -0600
Subject: Pdf-writer, tagged pdf?
From: karl.hegbloom <at> gmail.com
To: gal.kahana <at> hotmail.com


I wonder if it supports creation of "tagged pdf"? My interest is due to your library being used by the TeXmacs editor, and when I export to pdf and have the pdf reader app perform text to speech (read aloud) it skips typographic ligatures and thus mispronounces words that contain them. I think the solution involves emitting tagged pdf that has typographic ligatures transliterated to their multi character unicode equvalent for the voice-reader and highlight + clipboard, while still using the ligature for display and printing.

Karl.Hegbloom <at> gmail.com
http://karlhegbloom.blogspot.com

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 21 Mar 18:56 2016
Picon
Gravatar

Paragraphsign in PDF outlines

I've got a document style sheet that puts the paragraphsign  ¶  in front of the paragraph number. It shows up fine in the document, both at the start of the paragraph and in the table of contents, but in the PDF outlines, it shows up as  ű.

If I then run the command:

pdftk inputfile.pdf dump_data_utf8  | sed -r -e 's,ű,¶,g'  | pdftk inputfile.pdf update_info_utf8 - output outputfile.pdf

... the resulting PDF has the paragraphsign in the outlines the way it's supposed to. I guess if I actually used that thing that looks like a u with a double quote above it in the text of the document in any section or paragraph headings, there would be paragraph signs instead of that letter there, which would not be correct.

Because PDF accepts that character fine when I run that sed filter, I suspect that the problem is somewhere in TeXmacs, in how it translates the text from it's internal coding to the one in the PDF.

It seems to me that it used to work fine. It might be something that broke with one of the recent changes to the PDF writer, but I'm not certain. I've not used that paragraphsign prefixed paragraph numbering much yet.

Any idea how to fix it?
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
Karl Hegbloom | 14 Mar 20:59 2016
Picon
Gravatar

Example "secure" not functioning in TeXmacs 1.99.4 svn 9936

When I compile the "secure" plugin example, the \inv macro works fine, but the \latexer one causes texmacs.bin to hit 100% CPU and do nothing else. I do not know how to fix it or what is the matter and I need some help.

When it does this, secure.bin has been launched as a subprocess below texmacs.bin, but it is not using any CPU.


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Gmane