Re: Installing OpenNMS on Debian ARMEL architectures

Ben Whorwood <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
On 19/11/10 17:13, Benjamin Reed wrote:
> Just curious, but why 1.0.8?

Started using 1.0.8 as this was downloaded from the deb-src repositories.

Thanks for your hint regarding the -m32 option. After some more digging 
I found the line that appends the option after detecting the Java 
architecture.

Using JICMP 1.0.12 I was able to successfully build using the following 
steps performed as root (without root make kept rerunning ./configure)...

$ tar xvf jicmp-*.tar.gz
$ cd jicmp-*
$ m4/autogen.sh

Get the line to disable (/CFLAGS="$CFLAGS -m$JAVA_ARCH"/) using:

$ grep -n 'CFLAG' configure | grep '\-m$JAVA'

Comment out the applicable line (remember to leave something in place to 
avoid shell elif error).

$ ./configure

(On Debian ARMEL Squeeze I ran:

$ CFLAGS="-Wall -g -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" 
LDFLAGS="" ./configure --build=arm-linux-gnueabi  --prefix=/usr 
--includedir="/usr/include" --mandir="/usr/share/man" 
--infodir="/usr/share/info" --sysconfdir=/etc --localstatedir=/var 
--libexecdir="/usr/lib/jicmp" --disable-maintainer-mode 
--disable-dependency-tracking --disable-silent-rules --srcdir=.  
--libdir=/usr/lib/jni --with-java=/usr/lib/jvm/java-6-openjdk)

$ make
$ make install

Thanks again for your help and quick responses.

Kind regards,
Ben

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.