Problem compiling arts

Reto Burkhalter reto.burkhalter at basis06.com
Fri Oct 7 07:04:02 PDT 2005


Hello

I tried to compile flowscan from the ports, the dependency
arts++ won't compile:

===>   cflowd-2.1.b1_8,1 depends on file: /usr/local/bin/libtool13 -
found
===>   cflowd-2.1.b1_8,1 depends on shared library: Arts.0 - not found
===>    Verifying install for Arts.0 in /usr/ports/net-mgmt/arts++
===>  Extracting for arts++-1.1.a11,1
=> Checksum OK for arts++-1.1.a11.tar.gz.
===>  Patching for arts++-1.1.a11,1
===>   arts++-1.1.a11,1 depends on executable: gmake - found
===>   arts++-1.1.a11,1 depends on executable: gcc295 - found
===>   arts++-1.1.a11,1 depends on file: /usr/local/bin/libtool13 -
found
===>  Configuring for arts++-1.1.a11,1
configure: WARNING: you should use --build, --host, --target
checking for i386-portbld-freebsd5.4-gcc... gcc295
checking for C compiler default output... configure: error: C compiler
cannot create executables
===>  Script "configure" failed unexpectedly.
Please report the problem to ports at FreeBSD.org [maintainer] and attach
the
"/usr/compile/usr/ports/net-mgmt/arts++/work/arts++-1.1.a11/config.log"
including the output of the failure of your make command. Also, it might
be
a good idea to provide an overview of all packages installed on your
system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net-mgmt/arts++.
*** Error code 1

Stop in /usr/ports/net-mgmt/cflowd.
*** Error code 1

Stop in /usr/ports/net-mgmt/flowscan.

=====

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Arts++ configure 1.1.a11, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --enable-shared --prefix=/usr/local
i386-portbld-freebsd5.4

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

hostname = srv06.basis06.com
uname -m = i386
uname -r = 5.4-RELEASE-p6
uname -s = FreeBSD
uname -v = FreeBSD 5.4-RELEASE-p6 #5: Sun Aug 21 13:34:14 CEST 2005
rbu at srv0
6.basis06.com:/usr/obj/usr/src/sys/INTRA

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

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

PATH: /usr/local/libexec/libtool13
PATH: /usr/local/jakarta-tomcat4.1/bin
PATH: /usr/local/jdk1.4.2/bin
PATH: /usr/local/bin
PATH: /root/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/X11R6/bin
PATH: /usr/sbin
PATH: /usr/local/games/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/local/nagios/bin


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

configure:1259: checking for i386-portbld-freebsd5.4-gcc
configure:1285: result: gcc295
configure:1567: checking for C compiler version
configure:1570: gcc295 --version </dev/null >&5
2.95.3
configure:1573: $? = 0
configure:1575: gcc295 -v </dev/null >&5
Reading specs from
/usr/local/lib/gcc-lib/i386-portbld-freebsd5.4/2.95.3/specs
gcc version 2.95.3 20010315 (release)
configure:1578: $? = 0
configure:1580: gcc295 -V </dev/null >&5
gcc295: argument to `-V' is missing
configure:1583: $? = 1
configure:1609: checking for C compiler default output
configure:1612: gcc295 -O -pipe -march=pentium3   conftest.c  >&5
cc1: bad value (pentium3) for -march= switch
configure:1615: $? = 1
configure: failed program was:
#line 1587 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:1642: error: C compiler cannot create executables

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

ac_cv_env_CXXFLAGS_value='-O -pipe -march=pentium3'
ac_cv_env_CXXCPP_set=
ac_cv_env_LDFLAGS_set=
ac_cv_env_CFLAGS_set=set
lt_cv_sys_max_cmd_len=65536
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CXX_set=set
ac_cv_env_host_alias_set=set
ac_cv_prog_CC=gcc295
ac_cv_env_build_alias_set=set
ac_cv_env_CXXCPP_value=
ac_cv_env_LDFLAGS_value=
ac_cv_env_target_alias_set=set
ac_cv_env_CFLAGS_value='-O -pipe -march=pentium3'
ac_cv_env_CC_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXX_value=g++295
ac_cv_env_host_alias_value=i386-portbld-freebsd5.4
ac_cv_env_build_alias_value=i386-portbld-freebsd5.4
ac_cv_env_target_alias_value=i386-portbld-freebsd5.4
ac_cv_env_CC_value=gcc295

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

#define PACKAGE_NAME "Arts++"
#define PACKAGE_TARNAME "arts--"
#define PACKAGE_VERSION "1.1.a11"
#define PACKAGE_STRING "Arts++ 1.1.a11"
#define PACKAGE_BUGREPORT ""

configure: exit 77

===

Hope that helps.

Regards,
Reto

___________________________________________________________ 

Reto Burkhalter | reto.burkhalter at basis06.com | Partner 
basis06 AG | Effingerstrasse 25 | CH-3008 Bern 
Fon +41 31 311 3222 | Fax +41 31 311 3242 | www.basis06.com 


More information about the freebsd-ports mailing list