[jboss-dev-forums] [Design of JBoss Profiler] - installing/configuring on Mac OSX

lexsoto@gmail.com do-not-reply at jboss.com
Mon Dec 29 12:58:10 EST 2008


Hello,

I'm trying to get the JBoss Profiler working on Mac OSX.
I'm running JBoss 4.2.2.GA with Java 5.

First, I downloaded the latest release "jboss-profiler-2.0.Beta3.SP1" but could not find the native library anywhere.  

I found the native library in the downloaded "jboss-profiler-1.0.CR4.zip" file.  
Is this the one I should be using?   

There is no pre-compiled library for Mac OSX so I'm trying to compile it from the sources.   After removing windows '\r' characters from the provided compile.sh file I get these errors when compiling the sources:

i686-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
  | ../native-src/jbossAgent.cpp:1: warning: -fpic is not supported; -fPIC assumed
  | i686-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
  | ../native-src/jbossAgentJNI.cpp:1: warning: -fpic is not supported; -fPIC assumed
  | i686-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
  | ../native-src/jbossAgentUtilities.cpp:1: warning: -fpic is not supported; -fPIC assumed
  | /usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib load command 8 unknown cmd field
  | /usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
  | /usr/bin/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
  | collect2: ld returned 1 exit status
  | 

Has anybody done what I'm attempting? 
Any help will be greatly appreciated.

Thanks,
Alex Soto

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198792#4198792

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198792



More information about the jboss-dev-forums mailing list