new build system build fails on Solaris/x86

Karel Gardas karel.gardas at centrum.cz
Wed Jan 21 10:15:02 EST 2009


Hello,

I need to double check: I'm talking here about new build system. I've
invoked simple `gmake'. Also your builds is fine since editline seems to
find readline header file which seems to satisfy it while this is not in
my case.

How have you configure to allow it to find readline?

Thanks,
Karel

Christian Maeder wrote:
> How did you call gmake? editline is not needed for ghc. When building
> the libraries with the stage1 compiler I get:
> 
> ...
> && touch stamp/configure.library.build-profiling-splitting.editline ||
>  touch editline/unbuildable
> Configuring editline-0.2.1.0...
> checking for gcc... gcc
> 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... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for tputs in -lncurses... yes
> checking for el_init... no
> checking for readline... no
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/local/bin/grep
> checking for egrep... /usr/local/bin/grep -E
> checking for ANSI C header files... no
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking editline/readline.h usability... no
> checking editline/readline.h presence... no
> checking for editline/readline.h... no
> checking editline/editline.h usability... no
> checking editline/editline.h presence... no
> checking for editline/editline.h... no
> checking readline/readline.h usability... yes
> checking readline/readline.h presence... yes
> checking for readline/readline.h... yes
> checking for sign of read_history result on error... negative
> checking for rl_completion_matches... no
> checking for completion_matches... no
> configure: error: editline not found, so this package cannot be built
> See `config.log' for more details.
> if ifBuildable/ifBuildable
> /export/local2/home/maeder/haskell/ghc-6.10.1/packages editline; then \
>   cd editline &&
> ....
> 
> I've no idea what your patch changes.
> Cheers Christian
> 
> Karel Gardas wrote:
>> Hello,
>>
>> I attempt to test new build system on solaris/x86 platform and after
>> applying patch from here:
>> http://hackage.haskell.org/trac/ghc/ticket/2951 I've been able to boot
>> and configure the tree. On the other hand build alone fails with:
>>
>> checking for unistd.h... yes
>> checking editline/readline.h usability... no
>> checking editline/readline.h presence... no
>> checking for editline/readline.h... no
>> checking editline/editline.h usability... no
>> checking editline/editline.h presence... no
>> checking for editline/editline.h... no
>> checking readline/readline.h usability... no
>> checking readline/readline.h presence... no
>> checking for readline/readline.h... no
>> checking for sign of read_history result on error... negative
>> checking for rl_completion_matches... no
>> checking for completion_matches... no
>> configure: error: editline not found, so this package cannot be built
>> See `config.log' for more details.
>> gmake[1]: *** [libraries/editline/dist-install/package-data.mk] Error 1
>> gmake: *** [all] Error 2
>> karel at silence:/tmp/ghc-new-build-system$
>>
>> Do you have any idea how to proceed or what exactly to install?
>>
>> Thanks,
>> Karel
> 
> 



More information about the Glasgow-haskell-users mailing list