This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: expat is missing or unusable


> Good afternoon.
> 
> I am attempting to build crosstool-ng 1.15.2 on Ubuntu 11.04.
> Â WHenever I build the program, it gets to a point and fails with the
> following log:
> 
> [INFO ]
> Â =================================================================
> [INFO ]Â Installing binutils for target
> [EXTRA]ÂÂÂ Configuring binutils for target
> [EXTRA]ÂÂÂ Building binutils' libraries (libiberty bfd) for target
> [EXTRA]ÂÂÂ Installing binutils' libraries (libiberty bfd) for target
> [INFO ]Â Installing binutils for target: done in 106.43s (at 27:11)
> [INFO ]
> Â =================================================================
> [INFO ]Â Installing cross-gdb
> [EXTRA]ÂÂÂ Configuring cross-gdb
> [EXTRA]ÂÂÂ Building cross-gdb
> [ERROR]ÂÂÂ configure: error: expat is missing or unusable
> [ERROR]ÂÂÂ make[2]: *** [configure-gdb] Error 1
> [ERROR]ÂÂÂ make[1]: *** [all] Error 2
> [ERROR]
> [ERROR]Â >>
> [ERROR]Â >>Â Build failed in step 'Installing cross-gdb'
> [ERROR]Â >>ÂÂÂÂÂÂÂ called in step '(top-level)'
> [ERROR]Â >>
> [ERROR]Â >>Â Error happened in: CT_DoExecLog[scripts/functions@172]
> [ERROR]Â >>ÂÂÂÂÂÂÂ called from:
> do_debug_gdb_build[scripts/build/debug/300-gdb.sh@159]
> [ERROR]Â >>ÂÂÂÂÂÂÂ called from: do_debug[scripts/build/debug.sh@35]
> [ERROR]Â >>ÂÂÂÂÂÂÂ called from: main[scripts/crosstool-NG.sh@598]
> [ERROR]Â >>
> [ERROR]Â >>Â For more info on this error, look at the file:
> 'build.log'
> [ERROR]Â >>Â There is a list of known issues, some with workarounds,
> in:
> [ERROR]Â >>ÂÂÂÂÂ 'docs/B - Known issues.txt'
> [ERROR]
> [ERROR]Â (elapsed: 28:45.09)
> [28:45] / make: *** [build] Error 2
> wws@wws-HP-Compaq-nc8430-EY685AW-ABA:~/crosstool-ng-1.15.2$ cat
> /etc/issue
> Ubuntu 11.04 \n \l
> 
> I've looked in build.log, and I see the following relevant info:
> [ALLÂ ]ÂÂÂ checking for library containing waddstr... no
> [ALLÂ ]ÂÂÂ configure: WARNING: no enhanced curses library found;
> disabling TUI
> [ALLÂ ]ÂÂÂ checking for library containing tgetent... -ltermcap
> [ALLÂ ]ÂÂÂ checking whether to use expat... yes
> [ALLÂ ]ÂÂÂ checking for ld used by GCC... ld -static
> [ALLÂ ]ÂÂÂ checking if the linker (ld -static) is GNU ld... yes
> [ALLÂ ]ÂÂÂ checking for shared library run path origin... done
> [ALLÂ ]ÂÂÂ checking for libexpat... no
> [ERROR]ÂÂÂ configure: error: expat is missing or unusable
> [ERROR]ÂÂÂ make[2]: *** [configure-gdb] Error 1
> [ALLÂ ]ÂÂÂ make[2]: Leaving directory
> `/home/wws/crosstool-ng-1.15.2/.build/arm-unknown-linux-uclibcgnueabi/build/build-gdb-cross'
> [ERROR]ÂÂÂ make[1]: *** [all] Error 2
> [ALLÂ ]ÂÂÂ make[1]: Leaving directory
> `/home/wws/crosstool-ng-1.15.2/.build/arm-unknown-linux-uclibcgnueabi/build/build-gdb-cross'
> [ERROR]
> [ERROR]Â >>
> [ERROR]Â >>Â Build failed in step 'Installing cross-gdb'
> [ERROR]Â >>ÂÂÂÂÂÂÂ called in step '(top-level)'
> 
> However, when I run sudo apt-get install expat, it shows that expat
> is already installed.
> 
> Any suggestions. I'm oh so close to being done with the cross build
> (I think).

Hi Walter,

I think it's because you need the expat-dev stuff, not only expat.

Regards,
BenoÃt

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]