Problem compiling nano-1.2.3

Fabio Giovagnini <[email protected]> Thu, 20 Jan 2005 11:20:12 +0000
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Organization Walbro Italy
Message-ID <[email protected]>
Hi All,
I'm trying to compile nano-1.2.3 for my lpd-sh47760 dev board.
I compiled successfull ncurses lib, but I was not able to compile nano.
I download the src rpm from:
http://rpm.sh-linux.org/rpm-index-2004/sh4/nano-1.2.3-1.sh4.html

I used such configure:
./configure --prefix=/usr/local/nano-1.2.3 --build=i686-pc-linux-gnu 
--host=sh4-linux --target=sh4-linux


I have such an error:
checking for broken regexec... configure: error: cannot run test program while 
cross compiling
See `config.log' for more details.


config.log tells me:
configure:5545: checking for regex.h
configure:5550: result: yes
configure:5681: checking for broken regexec
configure:5685: error: cannot run test program while cross compiling
See `config.log' for more details.

Any suggestions for solving the problem?

Thanks a lot

Fabio


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl