[Solaris / Nexenta] Compilation

Moimemeici
Messages : 454
Inscription : ven. 12 janv. 2018 17:44

[Solaris / Nexenta] Compilation

Message par Moimemeici »

Bijour,

un petit soucis qui est insoluble pour moi je tente de compiler Netatalk 3.1.1 sur Nexenta donc je me suis inspirer d'un tuto pour openindiana

http://netatalk.sourceforge.net/wiki/in ... iana_151a9

Tous les paquets y sont sur la nexenta mais faut faire des recherche a coup de apt-cache search, mais tout y est ...

Donc je lance le ./configure et j'ai rapidement une erreur mais je ne comprends pas l'erreur ...
# ./configure --prefix=/usr --sysconfdir=/etc/netatalk --with-init-style=solaris --without-ddp
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking target system type... i386-pc-solaris2.11
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/netatalk-3.1.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
donc j'essai de regarder le config.log:


[cpp]# cat 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.68. Invocation command line was

$ ./configure --prefix=/usr --sysconfdir=/etc/netatalk --with-init-style=solaris --without-ddp

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

hostname = mina
uname -m = i86pc
uname -r = 5.11
uname -s = SunOS
uname -v = NexentaOS_4:8bf8c3630a

/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = mina
Release = 5.11
KernelID = NexentaOS_4:8bf8c3630a
Machine = i86pc
BusType =
Serial =
Users =
OEM# = 0
Origin# = 1
NumCPU = 8

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

PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/gnu/bin


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

configure:2725: checking build system type
configure:2739: result: i386-pc-solaris2.11
configure:2759: checking host system type
configure:2772: result: i386-pc-solaris2.11
configure:2792: checking target system type
configure:2805: result: i386-pc-solaris2.11
configure:2848: checking for a BSD-compatible install
configure:2916: result: /usr/bin/ginstall -c
configure:2927: checking whether build environment is sane
configure:2977: result: yes
configure:3118: checking for a thread-safe mkdir -p
configure:3157: result: /usr/bin/gmkdir -p
configure:3170: checking for gawk
configure:3186: found /usr/bin/gawk
configure:3197: result: gawk
configure:3208: checking whether make sets $(MAKE)
configure:3230: result: yes
configure:3313: checking whether to disable maintainer-specific portions of Makefiles
configure:3322: result: yes
configure:3340: checking for gawk
configure:3367: result: gawk
configure:3426: checking for gcc
configure:3442: found /usr/bin/gcc
configure:3453: result: gcc
configure:3682: checking for C compiler version
configure:3691: gcc --version >&5
gcc (GCC) 4.4.7
Copyright (C) 2010 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:3702: $? = 0
configure:3691: gcc -v >&5
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: /opt/TEST/nza-userland/nza-userland/components/gcc-4.4/gcc-4.4.7/configure --enable-languages=c,c++,fortran --enable-shared --enable-s sp --enable-threads=posix --enable-tls --program-suffix=-4.4 --with-as=/usr/gnu/bin/as --with-gmp-include=/usr/include/gmp --with-gnu-as --with-ld=/usr /bin/ld --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --bindir=/usr/bin --libdir=/usr/ lib --libexecdir=/usr/libexec --sbindir=/usr/sbin
Thread model: posix
gcc version 4.4.7 (GCC)
configure:3702: $? = 0
configure:3691: gcc -V >&5
gcc: '-V' option must have argument
configure:3702: $? = 1
configure:3691: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3702: $? = 1
configure:3722: checking whether the C compiler works
configure:3744: gcc conftest.c >&5
ld: fatal: file crt1.o: open failed: No such file or directory
collect2: ld returned 1 exit status
configure:3748: $? = 1
configure:3786: result: no
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 PACKAGE "netatalk"
| #define VERSION "3.1.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3791: error: in `/tmp/netatalk-3.1.1':
configure:3793: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=i386-pc-solaris2.11
ac_cv_env_AVAHI_CFLAGS_set=''
ac_cv_env_AVAHI_CFLAGS_value=''
ac_cv_env_AVAHI_LIBS_set=''
ac_cv_env_AVAHI_LIBS_value=''
ac_cv_env_AVAHI_TPOLL_CFLAGS_set=''
ac_cv_env_AVAHI_TPOLL_CFLAGS_value=''
ac_cv_env_AVAHI_TPOLL_LIBS_set=''
ac_cv_env_AVAHI_TPOLL_LIBS_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_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_DBUS_CFLAGS_set=''
ac_cv_env_DBUS_CFLAGS_value=''
ac_cv_env_DBUS_GLIB_CFLAGS_set=''
ac_cv_env_DBUS_GLIB_CFLAGS_value=''
ac_cv_env_DBUS_GLIB_LIBS_set=''
ac_cv_env_DBUS_GLIB_LIBS_value=''
ac_cv_env_DBUS_GTHREAD_CFLAGS_set=''
ac_cv_env_DBUS_GTHREAD_CFLAGS_value=''
ac_cv_env_DBUS_GTHREAD_LIBS_set=''
ac_cv_env_DBUS_GTHREAD_LIBS_value=''
ac_cv_env_DBUS_LIBS_set=''
ac_cv_env_DBUS_LIBS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_MYSQL_CFLAGS_set=''
ac_cv_env_MYSQL_CFLAGS_value=''
ac_cv_env_MYSQL_LIBS_set=''
ac_cv_env_MYSQL_LIBS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_TDB_CFLAGS_set=''
ac_cv_env_TDB_CFLAGS_value=''
ac_cv_env_TDB_LIBS_set=''
ac_cv_env_TDB_LIBS_value=''
ac_cv_env_TRACKER_CFLAGS_set=''
ac_cv_env_TRACKER_CFLAGS_value=''
ac_cv_env_TRACKER_LIBS_set=''
ac_cv_env_TRACKER_LIBS_value=''
ac_cv_env_TRACKER_MINER_CFLAGS_set=''
ac_cv_env_TRACKER_MINER_CFLAGS_value=''
ac_cv_env_TRACKER_MINER_LIBS_set=''
ac_cv_env_TRACKER_MINER_LIBS_value=''
ac_cv_env_YACC_set=''
ac_cv_env_YACC_value=''
ac_cv_env_YFLAGS_set=''
ac_cv_env_YFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
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_host=i386-pc-solaris2.11
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_path_mkdir=/usr/bin/gmkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i386-pc-solaris2.11

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

ACLOCAL='${SHELL} /tmp/netatalk-3.1.1/missing --run aclocal-1.11'
ACL_LIBS=''
AFS_CFLAGS=''
AFS_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/netatalk-3.1.1/missing --run tar'
AM_BACKSLASH=''
AM_DEFAULT_VERBOSITY=''
AR=''
AUTOCONF='${SHELL} /tmp/netatalk-3.1.1/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/netatalk-3.1.1/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/netatalk-3.1.1/missing --run automake-1.11'
AVAHI_CFLAGS=''
AVAHI_LIBS=''
AVAHI_TPOLL_CFLAGS=''
AVAHI_TPOLL_LIBS=''
AWK='gawk'
BDB_BIN=''
BDB_CFLAGS=''
BDB_LIBS=''
BDB_PATH=''
BUILD_DBD_DAEMON_FALSE=''
BUILD_DBD_DAEMON_TRUE=''
BUILD_PAM_FALSE=''
BUILD_PAM_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CRYPT_LIBS=''
CYGPATH_W='echo'
DBUS_CFLAGS=''
DBUS_GLIB_CFLAGS=''
DBUS_GLIB_LIBS=''
DBUS_GTHREAD_CFLAGS=''
DBUS_GTHREAD_LIBS=''
DBUS_LIBS=''
DBUS_SYS_DIR=''
DEFAULT_CNID_SCHEME=''
DEFAULT_HOOK_FALSE=''
DEFAULT_HOOK_TRUE=''
DEFS=''
DEPDIR=''
DEVELOPER_FALSE=''
DEVELOPER_TRUE=''
DLLTOOL=''
DOCBOOK_ROOT=''
DSYMUTIL=''
DTRACE_LIBS=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
GSSAPI_CFLAGS=''
GSSAPI_LDFLAGS=''
GSSAPI_LIBS=''
HAVE_ACLS_FALSE=''
HAVE_ACLS_TRUE=''
HAVE_ATFUNCS_FALSE=''
HAVE_ATFUNCS_TRUE=''
HAVE_DBUS_GLIB_FALSE=''
HAVE_DBUS_GLIB_TRUE=''
HAVE_LDAP_FALSE=''
HAVE_LDAP_TRUE=''
HAVE_LIBGCRYPT_FALSE=''
HAVE_LIBGCRYPT_TRUE=''
HAVE_OPENSSL_FALSE=''
HAVE_OPENSSL_TRUE=''
HAVE_TRACKER_SPARQL_FALSE=''
HAVE_TRACKER_SPARQL_TRUE=''
HAVE_XSLTPROC_FALSE=''
HAVE_XSLTPROC_TRUE=''
ICONV_CFLAGS=''
ICONV_LIBS=''
INIT_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KRB5_CFLAGS=''
KRB5_CONFIG=''
KRB5_LIBS=''
LD=''
LDAP_CFLAGS=''
LDAP_LDFLAGS=''
LDAP_LIBS=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBADD_DL=''
LIBADD_DLD_LINK=''
LIBADD_DLOPEN=''
LIBADD_SHL_LOAD=''
LIBEVENT_CFLAGS=''
LIBEVENT_LDFLAGS=''
LIBGCRYPT_CFLAGS=''
LIBGCRYPT_CONFIG=''
LIBGCRYPT_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_DLLOADERS=''
LT_DLPREOPEN=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /tmp/netatalk-3.1.1/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/gmkdir -p'
MYSQL_CFLAGS=''
MYSQL_CONFIG=''
MYSQL_LIBS=''
NETATALK_VERSION='3.1.1'
NETA_LDCONFIG=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
OVERWRITE_CONFIG=''
PACKAGE='netatalk'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PAMDIR=''
PAM_ACCOUNT=''
PAM_AUTH=''
PAM_CFLAGS=''
PAM_DIRECTIVE=''
PAM_LIBS=''
PAM_PASSWORD=''
PAM_SESSION=''
PATH_NETATALK_LOCK=''
PATH_SEPARATOR=':'
PERL=''
PKGCONFDIR=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PS=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
QUOTA_LIBS=''
RANLIB=''
RUN_LDCONFIG_FALSE=''
RUN_LDCONFIG_TRUE=''
SED=''
SERVERTEXT=''
SET_MAKE=''
SHELL='/bin/sh'
SOLARIS_MODULE_FALSE=''
SOLARIS_MODULE_TRUE=''
SSL_CFLAGS=''
SSL_LIBS=''
STRIP=''
TDB_CFLAGS=''
TDB_LIBS=''
TRACKER_CFLAGS=''
TRACKER_LIBS=''
TRACKER_MINER_CFLAGS=''
TRACKER_MINER_LIBS=''
UAMS_PATH=''
USE_BDB_FALSE=''
USE_BDB_TRUE=''
USE_BUILTIN_LIBEVENT_FALSE=''
USE_BUILTIN_LIBEVENT_TRUE=''
USE_BUILTIN_TDB_FALSE=''
USE_BUILTIN_TDB_TRUE=''
USE_CDB_BACKEND_FALSE=''
USE_CDB_BACKEND_TRUE=''
USE_DEBIAN_FALSE=''
USE_DEBIAN_TRUE=''
USE_DHX2_FALSE=''
USE_DHX2_TRUE=''
USE_DHX_FALSE=''
USE_DHX_TRUE=''
USE_GENTOO_FALSE=''
USE_GENTOO_TRUE=''
USE_GSSAPI_FALSE=''
USE_GSSAPI_TRUE=''
USE_LAST_BACKEND_FALSE=''
USE_LAST_BACKEND_TRUE=''
USE_MYSQL_BACKEND_FALSE=''
USE_MYSQL_BACKEND_TRUE=''
USE_NETBSD_FALSE=''
USE_NETBSD_TRUE=''
USE_PAM_FALSE=''
USE_PAM_SO_FALSE=''
USE_PAM_SO_TRUE=''
USE_PAM_TRUE=''
USE_PGP_FALSE=''
USE_PGP_TRUE=''
USE_RANDNUM_FALSE=''
USE_RANDNUM_TRUE=''
USE_REDHAT_SYSV_FALSE=''
USE_REDHAT_SYSV_TRUE=''
USE_SHADOWPW_FALSE=''
USE_SHADOWPW_TRUE=''
USE_SOLARIS_FALSE=''
USE_SOLARIS_TRUE=''
USE_SUSE_SYSV_FALSE=''
USE_SUSE_SYSV_TRUE=''
USE_SYSTEMD_FALSE=''
USE_SYSTEMD_TRUE=''
USE_TDB_BACKEND_FALSE=''
USE_TDB_BACKEND_TRUE=''
USE_UNDEF_FALSE=''
USE_UNDEF_TRUE=''
VERSION='3.1.1'
WITH_DTRACE_FALSE=''
WITH_DTRACE_TRUE=''
WRAP_LIBS=''
XSLTPROC=''
XSLTPROC_FLAGS=''
YACC=''
YFLAGS=''
ZEROCONF_CFLAGS=''
ZEROCONF_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
atalk_cv_have_dtrace=''
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='i386-pc-solaris2.11'
build_alias=''
build_cpu='i386'
build_os='solaris2.11'
build_vendor='pc'
compiled_backends=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-pc-solaris2.11'
host_alias=''
host_cpu='i386'
host_os='solaris2.11'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/netatalk-3.1.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/gmkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sys_symbol_underscore=''
sysconfdir='/etc/netatalk'
target='i386-pc-solaris2.11'
target_alias=''
target_cpu='i386'
target_os='solaris2.11'
target_vendor='pc'

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "netatalk"
#define VERSION "3.1.1"

configure: exit 77[/cpp]
Avatar de l’utilisateur
augur1
Messages : 13167
Inscription : ven. 12 janv. 2018 17:44
Localisation : où tout est neuf et tout est sauvage
Contact :

[Solaris / Nexenta] Compilation

Message par augur1 »

il te manque GCC pour pouvoir compiler (GNU Compiler Collection)
Moimemeici
Messages : 454
Inscription : ven. 12 janv. 2018 17:44

[Solaris / Nexenta] Compilation

Message par Moimemeici »

heu non il est bien installer
# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: /opt/TEST/nza-userland/nza-userland/components/gcc-4.4/gcc-4.4.7/configure --enable-languages=c,c++,fortran --enable-shared --enable-ssp --enable-threads=posix --enable-tls --program-suffix=-4.4 - -with-as=/usr/gnu/bin/as --with-gmp-include=/usr/include/gmp --with-gnu-as --with-ld=/usr/bin/ld --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --bin dir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/libexec --sbindir=/usr/sbin
Thread model: posix
gcc version 4.4.7 (GCC)

Trouver il me manqué une librairie LINT !!
Répondre