Hi,

I'm trying to install Bigloo with Windows 10 Linux Services and Bash.

Windows 10 Bash shell is neither a VM nor a container, but a Windows subsystem 
with Ubuntu 14-04 LTS built in. In a PowerShell window you may launch the 
command bash and thereafter use all the usual Linux commands, wget, apt-get, 
make, etc.

The Bigloo install Makefile fails by not building the bigloo executable binary. 
I've tried with different Bigloo versions, 4.2c, 4.1a-2, 3.9a. As an 
attachment: configure.log for 3.9a, but the result is the same for all 
versions, with a configuration failure due to the lack of phidget:

./autoconf/runtest -v1 -- phidget "--cflags=" "--version=21"
/tmp/actestlbloch.c:1:23: fatal error: phidget21.h: Aucun fichier ou dossier de 
ce type
 #include <phidget21.h>

I've never heard of phidget neither I've found it on my computers with Bigloo 
up and running.

Has anybody an hint?

Cheers!

-- 
Laurent Bloch - http://www.laurentbloch.org - [email protected]
Si vous trouvez que l'éducation coûte cher, essayez l'ignorance !
(A. Lincoln)
# configure... 
# lundi 11 juillet 2016, 12:52:57 (UTC+0200)
# ./configure 

+ User specified host specific configuration ()...

./autoconf/runtest -v1 -- os
  -> linux

./autoconf/runtest -v1 -- cpu
  -> x86_64

./autoconf/runtest -v1 -- osversion
  -> 3.4.0+

./autoconf/runtest -v1 -- user
  -> lbloch

./autoconf/runtest -v1 -- cctest "--cc=gcc"
  -> gcc

+ Post host specific configuration (linux)...

./autoconf/runtest -v1 -- ascpp "--as=as" "--name=/tmp/foo"
/tmp/foo.s: Messages de l'assembleur:
/tmp/foo.s:2: Erreur: pas de telle instruction: « dummy »
as : option non reconnue « -P »
/tmp/foo.s: Messages de l'assembleur:
/tmp/foo.s:2: Erreur: pas de telle instruction: « dummy »
as : option non reconnue « -P »
/tmp/foo.s: Messages de l'assembleur:
/tmp/foo.s:2: Erreur: pas de telle instruction: « dummy »
  -> gcc -c -x assembler-with-cpp

./autoconf/runtest -v1 -- arflags "--ar=ar" "--name=/tmp/foo"
  -> qc

 ar arflags -> ar qc
./autoconf/runtest -v1 -- ranlib "--ranlib=ranlib"
  -> yes

./autoconf/runtest -v1 -- strip "--strip=strip"
  -> strip

+ checking executable names...
  -> aout=a.out, abat=a.out

* threadsupport=
./autoconf/runtest -v1 -- thread "--cflags=-DFINALIZE_ON_DEMAND"
  -> -DGC_LINUX_THREADS -D_REENTRANT -DGC_THREADS -DNO_HANDLE_FORK 
-DTHREAD_LOCAL_ALLOC -DFINALIZE_ON_DEMAND

./autoconf/runtest -v1 -- pthread
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:17:4: warning: null argument where non-null required 
(argument 3) [-Wnonnull]
    pthread_create( &thread, 0L, 0L, 0L );
    ^
  -> -lpthread

./autoconf/runtest -v1 -- pthreadlock "--lib=-lpthread"
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:17:4: warning: null argument where non-null required 
(argument 3) [-Wnonnull]
    pthread_create( &thread, 0L, 0L, 0L );
    ^
/tmp/actestlbloch.c:25:4: warning: null argument where non-null required 
(argument 2) [-Wnonnull]
    pthread_mutex_timedlock( &mutex, 0 );
    ^
  -> 1

./autoconf/runtest -v1 -- pthreadtimedjoin "--lib=-lpthread"
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:18:4: warning: null argument where non-null required 
(argument 3) [-Wnonnull]
    pthread_create( &thread, 0L, 0L, 0L );
    ^
  -> 1

./autoconf/runtest -v1 -- pthreadlocalstorage "--lib=-lpthread"
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:18:4: warning: null argument where non-null required 
(argument 3) [-Wnonnull]
    pthread_create( &thread, 0L, 0L, 0L );
    ^
/tmp/actestlbloch.c:25:4: warning: null argument where non-null required 
(argument 2) [-Wnonnull]
    pthread_mutex_timedlock( &mutex, 0 );
    ^
  -> yes

+ Java specific configuration (linux)...

+ GC configuration (yes)...
./autoconf/runtest -v1 -- gcflags "--cflags="
  -> -DNO_DEBUGGING -Iinclude -Ilibatomic_ops-install/include 
-DATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION

./autoconf/runtest -v1 -- maemo.arm "--cflags=-O3"
Unknown option "--cflags=-O3", ignored
  -> no

./autoconf/runtest -v1 -- gcconfigureopt 
"--gc-dir=/mnt/c/Users/lbloch/Packages/bigloo3.9a/gc/gc-7.2d"
  -> --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu

./autoconf/runtest -v1 -- gcversion 
"--gcincdir=/mnt/c/Users/lbloch/Packages/bigloo3.9a/gc/gc-7.2d/include" 
"--cflags="
  -> 720


./autoconf/runtest -v1 -- stacksize "--stacksize=2"
  -> 0

./autoconf/runtest -v1 -- openssl
/usr/bin/ld: /tmp/cc2WFCXj.o: référence au symbole non défini 
«BIO_new_socket@@OPENSSL_1.0.0»
//lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing 
from command line
collect2: error: ld returned 1 exit status
  -> -lcrypto -lssl

./autoconf/runtest -v1 -- openssl-dtls "--lib=-lcrypto -lssl"
  -> yes

./autoconf/runtest -v1 -- openssl-v2 "--lib=-lcrypto -lssl"
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:12:5: warning: passing argument 1 of ‘SSL_CTX_new’ makes 
pointer from integer without a cast [enabled by default]
     ctx = SSL_CTX_new( SSLv2_server_method() );
     ^
In file included from /tmp/actestlbloch.c:1:0:
/usr/include/openssl/ssl.h:1680:10: note: expected ‘const struct SSL_METHOD *’ 
but argument is of type ‘int’
 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
          ^
/tmp/ccWwhlvK.o: dans la fonction « main »:
actestlbloch.c:(.text+0x1f): référence indéfinie vers « SSLv2_server_method »
collect2: error: ld returned 1 exit status
  -> no

./autoconf/runtest -v1 -- openssl-v23 "--lib=-lcrypto -lssl"
  -> yes

./autoconf/runtest -v1 -- sqlite "--cflags="
/tmp/actestlbloch.c:1:21: fatal error: sqlite3.h: Aucun fichier ou dossier de 
ce type
 #include <sqlite3.h>
                     ^
compilation terminated.
  -> 

./autoconf/runtest -v1 -- gstreamer "--cflags=" "--pkg=gstreamer-@VERSION@ 
gstreamer-base-@VERSION@ gstreamer-plugins-base-@VERSION@"
./autoconf/gstreamer: 1: ./autoconf/gstreamer: pkg-config: not found
./autoconf/gstreamer: 1: ./autoconf/gstreamer: pkg-config: not found
  -> 

./autoconf/runtest -v1 -- alsa "--cflags="
./autoconf/alsa: 1: ./autoconf/alsa: pkg-config: not found
./autoconf/alsa: 1: ./autoconf/alsa: pkg-config: not found
  -> no

./autoconf/runtest -v1 -- mpg123 "--cflags= "
/tmp/actestlbloch.c:9:20: fatal error: mpg123.h: Aucun fichier ou dossier de ce 
type
 #include <mpg123.h>
                    ^
compilation terminated.
  -> no

./autoconf/runtest -v1 -- mpg123 "--cflags= -D_FILE_OFFSET_BITS=64"
/tmp/actestlbloch.c:9:20: fatal error: mpg123.h: Aucun fichier ou dossier de ce 
type
 #include <mpg123.h>
                    ^
compilation terminated.
  -> no

./autoconf/runtest -v1 -- flac "--cflags="
/tmp/actestlbloch.c:33:33: fatal error: FLAC/stream_decoder.h: Aucun fichier ou 
dossier de ce type
 #include "FLAC/stream_decoder.h"
                                 ^
compilation terminated.
  -> no

./autoconf/runtest -v1 -- mixer
  -> 1

./autoconf/runtest -v1 -- pcre "--cflags="
/tmp/actestlbloch.c:1:18: fatal error: pcre.h: Aucun fichier ou dossier de ce 
type
 #include <pcre.h>
                  ^
compilation terminated.
  -> no

./autoconf/runtest -v1 -- bgl-pkg-config "--libs" "avahi-client"
./autoconf/bgl-pkg-config: 13: ./autoconf/bgl-pkg-config: pkg-config: not found
  -> 

./autoconf/runtest -v1 -- bgl-pkg-config "--cflags" "avahi-client"
./autoconf/bgl-pkg-config: 13: ./autoconf/bgl-pkg-config: pkg-config: not found
  -> 

./autoconf/runtest -v1 -- avahi "--cflags=" "--libs="
/tmp/actestlbloch.c:10:33: fatal error: avahi-client/client.h: Aucun fichier ou 
dossier de ce type
 #include <avahi-client/client.h>
                                 ^
compilation terminated.
  -> no

./autoconf/runtest -v1 -- phidget "--cflags=" "--version=21"
/tmp/actestlbloch.c:1:23: fatal error: phidget21.h: Aucun fichier ou dossier de 
ce type
 #include <phidget21.h>
                       ^
compilation terminated.
  -> 

./autoconf/runtest -v1 -- alignment
  -> 3

./autoconf/runtest -v1 -- ccoptim "--cflags=-O3"
  -> -O3

./autoconf/runtest -v1 -- ccstrip "--cflags="
  -> -s

./autoconf/runtest -v1 -- checkinclude "#include <errno.h>"
  -> 1

./autoconf/runtest -v1 -- ccprof
  -> -pg -fno-inline

./autoconf/runtest -v1 -- ccdiv0
  -> 1

./autoconf/runtest -v1 -- oscharset
  -> C

./autoconf/runtest -v1 -- stackdown
  -> 1

./autoconf/runtest -v1 -- stdint
  -> 1

./autoconf/runtest -v1 -- stdlibint
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:5:3: error: unknown type name ‘uint8_t’
   uint8_t u8 = 1;
   ^
/tmp/actestlbloch.c:7:3: error: unknown type name ‘uint16_t’
   uint16_t u16 = 1;
   ^
/tmp/actestlbloch.c:9:3: error: unknown type name ‘uint32_t’
   uint32_t u32 = 1;
   ^
  -> 0

./autoconf/runtest -v1 -- unistdint
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:4:3: error: unknown type name ‘int8_t’
   int8_t x8 = -1;
   ^
/tmp/actestlbloch.c:5:3: error: unknown type name ‘uint8_t’
   uint8_t u8 = 1;
   ^
/tmp/actestlbloch.c:6:3: error: unknown type name ‘int16_t’
   int16_t x16 = -1;
   ^
/tmp/actestlbloch.c:7:3: error: unknown type name ‘uint16_t’
   uint16_t u16 = 1;
   ^
/tmp/actestlbloch.c:8:3: error: unknown type name ‘int32_t’
   int32_t x32 = -1;
   ^
/tmp/actestlbloch.c:9:3: error: unknown type name ‘uint32_t’
   uint32_t u32 = 1;
   ^
  -> 0

./autoconf/runtest -v1 -- getuid
  -> 1

./autoconf/runtest -v1 -- gecos
  -> 1

./autoconf/runtest -v1 -- getprotoent
  -> 1

./autoconf/runtest -v1 -- setjmp
  -> sig

./autoconf/runtest -v1 -- bcopy
gcc  /tmp/actestlbloch.c -o /tmp/Xactestlbloch >/dev/null
  -> 1

./autoconf/runtest -v1 -- winreg
  -> 0

./autoconf/runtest -v1 -- sigpipe
  -> 1

./autoconf/runtest -v1 -- sigsetmask
  -> 1

./autoconf/runtest -v1 -- sigprocmask
  -> 1

./autoconf/runtest -v1 -- alloca
  -> 1

./autoconf/runtest -v1 -- allocah
  -> 1

./autoconf/runtest -v1 -- machdep
  -> generic_mach_dep

./autoconf/runtest -v1 -- mmap
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:11:11: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
    return (int)mmap( 0, 100, PROT_READ | PROT_WRITE, MAP_PRIVATE, 0, 0 );
           ^
  -> 1

./autoconf/runtest -v1 -- getcwd
  -> 1

./autoconf/runtest -v1 -- getwd
/tmp/ccQPddEz.o: dans la fonction « main »:
actestlbloch.c:(.text+0x1a): AVERTISSEMENT: the `getwd' function is dangerous 
and should not be used.
  -> 1

./autoconf/runtest -v1 -- gmp
  -> 5.1.3

./autoconf/runtest -v1 -- socket "--lib="
  -> 

./autoconf/runtest -v1 -- socklen "--lib="
  -> 1

./autoconf/runtest -v1 -- setsockopt "--lib=" "--opt=TCP_NODELAY"
  -> 1

./autoconf/runtest -v1 -- setsockopt "--lib=" "--opt=TCP_CORK"
  -> 1

./autoconf/runtest -v1 -- setsockopt "--lib=" "--opt=TCP_QUICKACK"
  -> 1

./autoconf/runtest -v1 -- inet_aton "--lib="
  -> 1

./autoconf/runtest -v1 -- inet_pton "--lib="
  -> 1

./autoconf/runtest -v1 -- unixsocket "--lib="
  -> 1

./autoconf/runtest -v1 -- getaddrinfo "--lib="
  -> 1

./autoconf/runtest -v1 -- getifaddrs "--lib="
  -> 1

./autoconf/runtest -v1 -- gethwaddrs "--lib="
  -> 1

./autoconf/runtest -v1 -- cnstalign "--alignment=3"
  -> 1

./autoconf/runtest -v1 -- enforcedcnstalign
  -> 1

./autoconf/runtest -v1 -- bigendian
  -> 0

./autoconf/runtest -v1 -- pipe
  -> 1

./autoconf/runtest -v1 -- symlink
  -> 1

./autoconf/runtest -v1 -- labs
  -> labs

./autoconf/runtest -v1 -- longlong "--longlong="
  -> long long

./autoconf/runtest -v1 -- llabs "--longlong=long long"
  -> llabs

./autoconf/runtest -v1 -- strtoll "--longlong=long long"
  -> strtoll

./autoconf/runtest -v1 -- strtoull "--longlong=long long"
  -> strtoull

./autoconf/runtest -v1 -- limbs "--type=long" 
"--cflags=-I/mnt/c/Users/lbloch/Packages/bigloo3.9a/lib/3.9a 
-L/mnt/c/Users/lbloch/Packages/bigloo3.9a/lib/3.9a"
  -> 1

./autoconf/runtest -v1 -- limbs "--type=long long" 
"--cflags=-I/mnt/c/Users/lbloch/Packages/bigloo3.9a/lib/3.9a 
-L/mnt/c/Users/lbloch/Packages/bigloo3.9a/lib/3.9a"
  -> 1

./autoconf/runtest -v1 -- signbit "--type=long" "--alignment=3"
  -> 0x1000000000000000L

./autoconf/runtest -v1 -- signbit "--type=long" "--alignment=0"
  -> 0x8000000000000000L

./autoconf/runtest -v1 -- signbit "--type=long long" "--alignment=0"
  -> 0x8000000000000000LL

./autoconf/runtest -v1 -- sigchld
  -> 1

./autoconf/runtest -v1 -- sigaction
  -> 1

./autoconf/runtest -v1 -- setenv
  -> 1

./autoconf/runtest -v1 -- select
  -> 1

./autoconf/runtest -v1 -- fcntl
  -> 1

./autoconf/runtest -v1 -- termio
./autoconf/runtest -v1 -- checkinclude "--cflags=" "#include <termio.h>"
executing ./autoconf/checkinclude -> 1
  -> 1

  -> 1

./autoconf/runtest -v1 -- termios
./autoconf/runtest -v1 -- checkinclude "--cflags=" "#include <termios.h>"
executing ./autoconf/checkinclude -> 1
  -> 1

  -> 1

./autoconf/runtest -v1 -- posixfileops
  -> 1

./autoconf/runtest -v1 -- sendfile
  -> BGL_SENDFILE_NO

./autoconf/runtest -v1 -- sleep "--cflags=-DBGL_NANOSLEEP"
  -> 1

./autoconf/runtest -v1 -- sleep "--cflags=-DBGL_SLEEP"
  -> 1

./autoconf/runtest -v1 -- timezone "--cflags=-O3"
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:4:21: error: ‘_timezone’ undeclared (first use in this 
function)
    printf( "%d\n", -_timezone );
                     ^
/tmp/actestlbloch.c:4:21: note: each undeclared identifier is reported only 
once for each function it appears in
/tmp/actestlbloch.c: In function ‘main’:
/tmp/actestlbloch.c:4:4: warning: format ‘%d’ expects argument of type ‘int’, 
but argument 2 has type ‘long int’ [-Wformat=]
    printf( "%d\n", -timezone );
    ^
  -> timezone

./autoconf/runtest -v1 -- timeval "--cflags=-O3"
  -> 1

./autoconf/runtest -v1 -- ccpic "--cflags=demanded"
gcc: error: demanded: Aucun fichier ou dossier de ce type
  -> -fPIC

./autoconf/runtest -v1 -- ldextraopt "--lflags="
  -> 

./autoconf/runtest -v1 -- rdynamic "--rflags=-rdynamic"
  -> -rdynamic

./autoconf/runtest -v1 -- ldsoname "/usr/local/lib" "--ld=gcc" "--soname="
gcc: error: =actestlbloch.so: Aucun fichier ou dossier de ce type
/usr/bin/ld: ne peut pas trouver =actestlbloch.so: Aucun fichier ou dossier de 
ce type
collect2: error: ld returned 1 exit status
  -> -Wl,-soname

./autoconf/runtest -v1 -- ldshare "--ld=gcc" "--ldopt=" "--ldlibs=-lc" 
"--cflags=-fPIC" "--sharedsuffix=so"
  -> -shared

./autoconf/runtest -v1 -- ldpreload "--ld=gcc" "--ldlibs=-lc" "--ldopt=-shared"
  -> yes

./autoconf/runtest -v1 -- dlopen "--dlopt=-ldl"
  -> -ldl

./autoconf/runtest -v1 -- unix
  -> #define OS_CLASS "unix"
#define OS_NAME "linux"
#define OS_ARCH "x86_64"
#define OS_VERSION "3.4.0+"
#define OS_TMP ""
#define FILE_SEPARATOR '/'
#define PATH_SEPARATOR ':'
#define STATIC_LIB_SUFFIX "a"
#define SHARED_LIB_SUFFIX "so"
#define UCS2_DISPLAYABLE 0

./autoconf/runtest -v1 -- indent "--cflags=" "--indent=indent -npro -bap -bad 
-nbc -bl -ncdb -nce -nfc1 -ip0 -nlp -npcs -nsc -nsob -cli0.5 -di0 -l80 -d1 -c0 
-ts2 -st"
  -> 0

./autoconf/runtest -v1 -- dirname "--cflags=" "--dirname=dirname"
  -> dirname

./autoconf/runtest -v1 -- doubleprec
  -> 14

./autoconf/runtest -v1 -- ldstaticopt
  -> 

./autoconf/runtest -v1 -- ldsharedopt
  -> 

./autoconf/runtest -v1 -- emacsbrand "--emacs=emacs"
  -> emacs24

./autoconf/runtest -v1 -- emacslisppath "--emacs=emacs"
  -> /usr/local/share/emacs/24.3/site-lisp/bigloo



** Configuration summary **

Release features:
  Bigloo release number................. 3.9a
  Bigloo supported backends............. native:yes JVM:no
  Bigloo default backend................ native
  APIs.................................. pthread fthread ssl sqlite web 
multimedia mail calendar pkgcomp pkglib text srfi1 srfi27 packrat crypto 
openpgp phone csv
  Bigloo gc............................. custom (bigloogc 720)
  support for native threads............ yes
  support for thread local storage ..... yes
  Open SSL support...................... yes (dtls:yes, v2:no, v23:yes)
  Sqlite ............................... sqltiny
  support for dynamic libraries......... yes
  Bee support........................... partial

Directories where Bigloo will be installed:
  binaries.............................. /usr/local/bin
  libraries............................. /usr/local/lib
  files directory....................... bigloo/3.9a
  standard zip.......................... /usr/local/lib/bigloo/3.9a
  standard dll.......................... /usr/local/lib/bigloo/3.9a
  manual pages.......................... /usr/local/man/man1
  info documentation.................... /usr/local/info
  lisp files............................ 
  temporary dir......................... /tmp

Compilers and linkers:
  C compiler used....................... gcc
  options for compiling................. 
  options for optimizing................ -O3
  options for stripping................. -s
  options for PIC code.................. -fPIC
  options for profiling................. -pg -fno-inline
  options for linking................... -ldl -lgmp -lm
  assembly.............................. gcc -c -x assembler-with-cpp
  static library builder................ ar
  shared library builder................ gcc
  options for building static libs...... qc
  socket libraries...................... 
  gmp version........................... 5.1.3
  pthread libraries..................... -lpthread
  openssl libraries..................... -lcrypto -lssl
  sqlite libraries...................... 
  suffix of shared libraries............ so
  options for linking with shared libs.. -shared
  dynamically linked compiler........... no
  dynamically linked bde tools.......... no


GC configuration:
  options for compiling the collector... -DNO_DEBUGGING -Iinclude 
-Ilibatomic_ops-install/include -DATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION 
-DFINALIZE_ON_DEMAND 
  options for compiling with threads.... -DGC_LINUX_THREADS -D_REENTRANT 
-DGC_THREADS -DNO_HANDLE_FORK -DTHREAD_LOCAL_ALLOC -DFINALIZE_ON_DEMAND 
-DUSE_COMPILER_TLS

Emacs configuration:
  emacs................................. emacs
  emacs brand........................... emacs24
  lisp directory........................ 
/usr/local/share/emacs/24.3/site-lisp/bigloo

Misc configuration:
  mask for installed files.............. 644
  mask for installed executable......... 755
  mask for installed directories........ 755

System configuration:
  hardware tuning....................... 
  operating system...................... linux
  default executable name............... a.out

Attachment: pgpgEgBh4_aP6.pgp
Description: OpenPGP digital signature

Reply via email to