Jump to content
4 posts in this topic

Recommended Posts

Im trying to install fltk, and I keep getting the error

Makefile:28: makeinclude: No such file or directory
if test -f config.status; then \
./config.status --recheck; \
./config.status; \
else \
./configure; \
fi
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [makeinclude] Error 77

and heres 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.59.  Invocation command line was

 $ ./configure 

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

hostname = Macintosh.local
uname -m = i386
uname -r = 9.0.0b1
uname -s = Darwin
uname -v = Darwin Kernel Version 9.0.0b1: Mon Jun  4 20:40:17 PDT 2007; root:xnu-1122.4~1/RELEASE_I386

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

/bin/arch			  = unknown
/usr/bin/arch -k	   = unknown
/usr/convex/getsysinfo = unknown
hostinfo			   = Mach kernel version:
 Darwin Kernel Version 9.0.0b1: Mon Jun  4 20:40:17 PDT 2007; root:xnu-1122.4~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 1.00 gigabytes
Default processor set: 69 tasks, 298 threads, 2 processors
Load average: 0.70, Mach factor: 1.29
/bin/machine		   = unknown
/usr/bin/oslevel	   = unknown
/bin/universe		  = unknown

PATH: /sw/bin
PATH: /sw/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/X11/bin


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

configure:1647: checking for gcc
configure:1663: found /usr/bin/gcc
configure:1673: result: gcc
configure:1917: checking for C compiler version
configure:1920: gcc --version </dev/null >&5
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
Copyright (C) 2005 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:1923: $? = 0
configure:1925: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --with-arch=pentium-m --with-tune=prescott --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
configure:1928: $? = 0
configure:1930: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1933: $? = 1
configure:1956: checking for C compiler default output file name
configure:1959: gcc	conftest.c  >&5
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
collect2: ld returned 1 exit status
configure:1962: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define __APPLE_QD__ 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|  ;
|   return 0;
| }
configure:2001: error: C compiler cannot create executables
See `config.log' for more details.

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

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_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_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_prog_ac_ct_CC=gcc

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

AR=''
ARCHFLAGS=''
AUDIOLIBS=''
CAT1EXT=''
CAT3EXT=''
CAT6EXT=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
DEFS=''
DSOCOMMAND='echo'
DSOFLAGS=''
DSOLINK=''
DSONAME=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FLDSONAME=''
FLLIBNAME='../lib/libfltk_forms.a'
FLUID='fluid'
FL_API_VERSION='1.1'
FL_MAJOR_VERSION='1'
FL_MINOR_VERSION='1'
FL_PATCH_VERSION='8'
FTCONFIG=''
GLDEMOS='gldemos'
GLDSONAME=''
GLLIB=''
GLLIBNAME='../lib/libfltk_gl.a'
GROFF=''
HLINKS=''
HTMLDOC=''
IMAGELIBS=''
IMGDSONAME=''
IMGLIBNAME='../lib/libfltk_images.a'
INSTALL_DATA=''
INSTALL_DESKTOP=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JPEG=''
JPEGINC=''
LARGEFILE=''
LDFLAGS=''
LIBCOMMAND=''
LIBEXT='.a'
LIBNAME='../lib/libfltk.a'
LIBOBJS=''
LIBS=''
LINKFLTK='../lib/libfltk.a'
LINKFLTKFORMS='../lib/libfltk_forms.a'
LINKFLTKGL='../lib/libfltk_gl.a'
LINKFLTKIMG='../lib/libfltk_images.a'
LINKSHARED='../lib/libfltk_images.a ../lib/libfltk_forms.a ../lib/libfltk.a'
LTLIBOBJS=''
MAKEDEPEND=''
NROFF=''
OBJEXT=''
OPTIM=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PNG=''
PNGINC=''
POSTBUILD=''
PTHREAD_FLAGS=''
RANLIB=''
SHAREDSUFFIX=''
SHELL='/bin/sh'
THREADS=''
UNINSTALL_DESKTOP=''
XPROP=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZLIB=''
ZLIBINC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define __APPLE_QD__ 1

configure: exit 77

 

why isnt it working?

Link to comment
https://www.insanelymac.com/forum/topic/58465-cannot-make-executable/
Share on other sites

×
×
  • Create New...