>From the logs it seems that you are not doing a clean build. Can you
perform a completely clean build (e.g. fetch the sources and build them in
an empty dir)?

Regards,
gustavo

2012/9/6 Ole Johan Væringstad <ole.johan.varings...@gmail.com>

> I tried your settings. It still complained about flex, so I compiled pure
> GNU flex 2.3.35. I got through configuring, but the compiling failed. I've
> attached configure.log and make.log
>
> Regards,
> OJ
>
> On Wed, Sep 5, 2012 at 2:53 PM, Gustavo Gutierrez <
> ggutier...@atlas.puj.edu.co> wrote:
>
>> Hi Ole,
>>
>> First of all I'm sorry for answering so late. I don't know if you managed
>> to solve the problem or not.
>>
>> 2012/8/29 Ole Johan Væringstad <ole.johan.varings...@gmail.com>
>>
>>> configure output:
>>> loading cache ./config.cache
>>> checking for SRCTOP... (cached) /Users/derp/dev/mozart/mozart
>>> checking for BUILDTOP... (cached) /Users/derp/dev/mozart/mozart
>>> checking host system type... i386-apple-darwin12.1.0
>>> checking for GNU make... (cached) make
>>> checking whether make sets ${MAKE}... (cached) yes
>>> checking for a BSD compatible install... (cached)
>>> /usr/local/bin/ginstall -c
>>> checking for --with-global-oz... no
>>> checking for mkinstalldirs... (cached)
>>> /Users/derp/dev/mozart/mozart/mkinstalldirs
>>> checking for oz version... (cached) 1.4.99
>>> checking for ozplatform... (cached)
>>> /Users/derp/dev/mozart/mozart/share/bin/ozplatform
>>> checking for oztool... no
>>> checking for --with-inc-dir...
>>> checking for --with-lib-dir...
>>> checking for build date... (cached) 20120829
>>> checking for build time... (cached) 220955
>>> checking for OZLOADSEP... (cached) :
>>> checking for OZLOADWIN... (cached)
>>> checking for --enable-contrib... yes
>>> checking for --enable-doc... no
>>> checking for --enable-subdirs... platform share contrib
>>> checking for --with-stdlib...
>>> updating cache ./config.cache
>>> creating ./config.status
>>> creating Makefile
>>> configuring in platform
>>> running /bin/sh /Users/derp/dev/mozart/mozart/platform/configure
>>> --prefix=/usr/local --disable-contrib-gdbm --disable-doc
>>> --disable-contrib-micq --cache-file=.././config.cache
>>> --srcdir=/Users/derp/dev/mozart/mozart/platform
>>> loading cache .././config.cache
>>> checking for SRCTOP... (cached) /Users/derp/dev/mozart/mozart
>>> checking for BUILDTOP... (cached) /Users/derp/dev/mozart/mozart
>>> checking host system type... i386-apple-darwin12.1.0
>>> checking for GNU make... (cached) make
>>> checking whether make sets ${MAKE}... (cached) yes
>>> checking for a BSD compatible install... (cached)
>>> /usr/local/bin/ginstall -c
>>> checking for --with-global-oz... no
>>> checking for mkinstalldirs... (cached)
>>> /Users/derp/dev/mozart/mozart/mkinstalldirs
>>> checking for oz version... (cached) 1.4.99
>>> checking for ozplatform... (cached)
>>> /Users/derp/dev/mozart/mozart/share/bin/ozplatform
>>> checking for oztool... no
>>> checking for --with-inc-dir...
>>> checking for --with-lib-dir...
>>> checking for build date... (cached) 20120829
>>> checking for build time... (cached) 220955
>>> checking for OZLOADSEP... (cached) :
>>> checking for OZLOADWIN... (cached)
>>> checking for --enable-wish... yes
>>> creating ./config.status
>>> creating Makefile
>>> configuring in dss
>>> running /bin/sh /Users/derp/dev/mozart/mozart/platform/dss/configure
>>> --prefix=/usr/local --disable-contrib-gdbm --disable-doc
>>> --disable-contrib-micq --cache-file=../.././config.cache
>>> --srcdir=/Users/derp/dev/mozart/mozart/platform/dss
>>> configure: loading cache ../.././config.cache
>>> checking build system type... (cached) i386-apple-darwin12.1.0
>>> checking host system type... (cached) i386-apple-darwin12.1.0
>>> checking for g++... (cached) g++
>>> checking for C++ compiler default output file name... a.out
>>> checking whether the C++ compiler works... yes
>>> checking whether we are cross compiling... no
>>> checking for suffix of executables...
>>> checking for suffix of object files... (cached) o
>>> checking whether we are using the GNU C++ compiler... (cached) yes
>>> checking whether g++ accepts -g... (cached) yes
>>> checking for gcc... (cached) gcc
>>> checking whether we are using the GNU C compiler... (cached) yes
>>> checking whether gcc accepts -g... (cached) yes
>>> checking for gcc option to accept ISO C89... (cached) none needed
>>> checking for a BSD-compatible install... (cached)
>>> /usr/local/bin/ginstall -c
>>> checking whether make sets $(MAKE)... (cached) yes
>>> checking how to run the C++ preprocessor... (cached) g++ -E
>>> checking for grep that handles long lines and -e... (cached)
>>> /usr/local/bin/ggrep
>>> checking for egrep... (cached) /usr/local/bin/ggrep -E
>>> checking for ANSI C header files... (cached) yes
>>> checking for sys/types.h... (cached) yes
>>> checking for sys/stat.h... (cached) yes
>>> checking for stdlib.h... (cached) yes
>>> checking for string.h... (cached) yes
>>> checking for memory.h... (cached) yes
>>> checking for strings.h... (cached) yes
>>> checking for inttypes.h... (cached) yes
>>> checking for stdint.h... (cached) yes
>>> checking for unistd.h... (cached) yes
>>> checking for arpa/inet.h... (cached) yes
>>> checking for fcntl.h... (cached) yes
>>> checking for limits.h... (cached) yes
>>> checking for gmp.h... (cached) yes
>>> checking for pthread.h... (cached) yes
>>> checking for stdbool.h that conforms to C99... (cached) yes
>>> checking for _Bool... (cached) no
>>> checking for an ANSI C-conforming const... (cached) yes
>>> checking for inline... (cached) inline
>>> checking for size_t... (cached) yes
>>> checking whether time.h and sys/time.h may both be included... (cached)
>>> yes
>>> checking for sys/select.h... (cached) yes
>>> checking for sys/socket.h... (cached) yes
>>> checking types of arguments for select... (cached) int,fd_set *,struct
>>> timeval *
>>> checking for vprintf... (cached) yes
>>> checking for _doprnt... (cached) no
>>> checking for sqrt... (cached) yes
>>> checking for a BSD-compatible install... /usr/local/bin/ginstall -c
>>> checking for ranlib... (cached) ranlib
>>> checking whether we are using the GNU C++ compiler... (cached) yes
>>> checking whether g++ accepts -g... (cached) yes
>>> checking for g++ version... 4.2.1
>>>
>>> *************** CHECKING OPTIONS ****************
>>>
>>> Options can be found in README
>>>
>>> checking compiler alternative.... compile optimized mode
>>> checking warning configuration... using extensive warnings
>>> checking profiling information... no profiling
>>> checking what lib to build....... will build full DSS
>>> checking for linking choice...... dynamic linking
>>> checking inclusion of examples... no examples
>>> checking inclusion of utils...... no utils
>>>
>>> ************* CHECKING ENVIRONMENT ***************
>>>
>>> checking environment... found darwin12.1.0
>>> checking CPU type... i386 architecture
>>> configure: updating cache ../.././config.cache
>>> configure: creating ./config.status
>>> config.status: creating Makefile
>>> config.status: creating Makefile.vars
>>>
>>> **** REMEMBER TO SET LD_LIBRARY_PATH ****
>>>
>>> configuring in emulator
>>> running /bin/sh
>>> /Users/derp/dev/mozart/mozart/platform/emulator/configure
>>> --prefix=/usr/local --disable-contrib-gdbm --disable-doc
>>> --disable-contrib-micq --cache-file=../.././config.cache
>>> --srcdir=/Users/derp/dev/mozart/mozart/platform/emulator
>>> loading cache ../.././config.cache
>>> checking for SRCTOP... (cached) /Users/derp/dev/mozart/mozart
>>> checking for BUILDTOP... (cached) /Users/derp/dev/mozart/mozart
>>> checking host system type... i386-apple-darwin12.1.0
>>> checking for GNU make... (cached) make
>>> checking whether make sets ${MAKE}... (cached) yes
>>> checking for a BSD compatible install... (cached)
>>> /usr/local/bin/ginstall -c
>>> checking for --with-global-oz... no
>>> checking for mkinstalldirs... (cached)
>>> /Users/derp/dev/mozart/mozart/mkinstalldirs
>>> checking for oz version... (cached) 1.4.99
>>> checking for ozplatform... (cached)
>>> /Users/derp/dev/mozart/mozart/share/bin/ozplatform
>>> checking for oztool... no
>>> checking for --with-inc-dir...
>>> checking for --with-lib-dir...
>>> checking for build date... (cached) 20120829
>>> checking for build time... (cached) 220955
>>> checking for OZLOADSEP... (cached) :
>>> checking for OZLOADWIN... (cached)
>>> checking for --enable-denys-events... no
>>> checking for --enable-site-property... yes
>>> checking build system type... i386-apple-darwin12.1.0
>>> checking for as... as
>>> checking for dlltool... dlltool
>>> checking for dllwrap... dllwrap
>>> checking for --with-sunpro... no
>>> checking for c++... c++
>>> checking whether the C++ compiler (c++ -O -arch i386) works... yes
>>> checking whether the C++ compiler (c++ -O -arch i386) is a
>>> cross-compiler... no
>>> checking whether we are using GNU C++... yes
>>> checking whether c++ accepts -g... (cached) yes
>>> checking c++ version is at least 3.3.2... yes (4.2.1)
>>> checking how to run the C++ preprocessor... (cached) g++ -E
>>> checking for gcc... gcc
>>> checking whether the C compiler (gcc -arch i386 -arch i386) works... yes
>>> checking whether the C compiler (gcc -arch i386 -arch i386) is a
>>> cross-compiler... no
>>> checking whether we are using GNU C... yes
>>> checking whether gcc accepts -g... (cached) yes
>>> checking gcc version is at least 3.3.2... yes (4.2.1)
>>> checking how to run the C preprocessor... gcc -E
>>> checking for flex... flex
>>> checking for yywrap in -lfl... no
>>> checking flex version is at least 2.5.3... no (cannot find version)
>>> configure: error:
>>> GNU flex version 2.5.3 or higher is needed to build the
>>> system.  It can be retrieved from:
>>>
>>>     ftp://ftp.gnu.org/pub/gnu/non-gnu/flex/
>>>
>>> The latest version at this time is 2.5.4a and is available
>>> packaged as the following archive:
>>>
>>>     flex-2.5.4a.tar.gz
>>>
>>> You may find a mirror archive closer to you by consulting:
>>>
>>>     http://www.gnu.org/order/ftp.html
>>>
>>> You may find additional information or more recent releases
>>> on the flex development site:
>>>
>>>     http://lex.sourceforge.net/
>>>
>>> configure: error:
>>> /Users/derp/dev/mozart/mozart/platform/emulator/configure failed for
>>> emulator
>>> configure: error: /Users/derp/dev/mozart/mozart/platform/configure
>>> failed for platform
>>>
>>> flex --version :
>>> flex 2.5.35 Apple(flex-31)
>>>
>>> uname -a :
>>> Darwin te.local 12.1.0 Darwin Kernel Version 12.1.0: Tue Aug 14 13:29:55
>>> PDT 2012; root:xnu-2050.9.2~1/RELEASE_X86_64 x86_64
>>>
>>> gcc --version :
>>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
>>> 5658) (LLVM build 2336.11.00)
>>> Copyright (C) 2007 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.
>>>
>>> lipo -info /usr/local/lib/libgmp.dylib :
>>> Non-fat file: /usr/local/lib/libgmp.dylib is architecture: i386
>>>
>>>
>> Can you specify --with-inc-dir=/usr/local/include
>> --with-lib-dir=/usr/local/lib as part of the configure command?,
>>
>>
>>> Question:
>>> Basic osx-install lists installing homebrew to get some of the
>>> dependencies. Why don't you just make a homebrew formula for mozart?
>>>
>>>
>> We are open to any contribution if you can submit a formula we will
>> appreciate it.
>>
>> Regards,
>>
>> --
>> Gustavo Gutierrez
>>
>>
>> _________________________________________________________________________________
>> mozart-hackers mailing list
>> mozart-hackers@mozart-oz.org
>> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>>
>
>
>
> _________________________________________________________________________________
> mozart-hackers mailing list
> mozart-hackers@mozart-oz.org
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
>



-- 
Gustavo Gutierrez
_________________________________________________________________________________
mozart-hackers mailing list                           
mozart-hackers@mozart-oz.org      
http://www.mozart-oz.org/mailman/listinfo/mozart-hackers

Reply via email to