Re: netif.h present but unusable on Mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/11/22 Richard O'Keefe <ok@xxxxxxxxxxxxxx>:
> The host is an Intel Core 2 Duo processor running Mac OS X version 10.5.7
>
> I downloaded the JikesRVM version 3.1.0 and having checked that
> ia32-osx was supported set out to build it.  The manual says that
> it needs GNU Classpath, and that I should download and install
> that by doing ant -f build/components/classpath.xml, which I did.
>
>     [exec] checking ifaddrs.h usability... yes
>     [exec] checking ifaddrs.h presence... yes
>     [exec] checking for ifaddrs.h... yes
>     [exec] checking netinet/in_systm.h usability... yes
>     [exec] checking netinet/in_systm.h presence... yes
>     [exec] checking for netinet/in_systm.h... yes
>     [exec] checking netinet/ip.h usability... yes
>     [exec] checking netinet/ip.h presence... yes
>     [exec] checking for netinet/ip.h... yes
>     [exec] checking net/if.h usability... no
>     [exec] checking net/if.h presence... yes
>     [exec] configure: WARNING: net/if.h: present but cannot be compiled
>     [exec] configure: WARNING: net/if.h:     check for missing prerequisite
> headers?
>     [exec] configure: WARNING: net/if.h: see the Autoconf documentation
>     [exec] configure: WARNING: net/if.h:     section "Present But Cannot Be
> Compiled"
>     [exec] configure: WARNING: net/if.h: proceeding with the preprocessor's
> result
>     [exec] configure: WARNING: net/if.h: in the future, the compiler will
> take precedence
>     [exec] configure: WARNING:     ## -------------------------------- ##
>     [exec] configure: WARNING:     ## Report this to classpath@xxxxxxx ##
>     [exec] configure: WARNING:     ## -------------------------------- ##
>     [exec] checking for net/if.h... yes
>
> There was a further problem later down where the Ant script said
>     [exec] configure: error: The Java compiler
> /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj
> failed (see config.log, check the CLASSPATH?)
>     [exec] checking if
> /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj
> works...
>
>
> Since ...components/ecj doesn't exist, it's not surprising that it
> doesn't "work".  This leads me to suspect a problem with the Ant
> script.
>
>
>


As your mail concerns JikesRVM, I'm including the main JikesRVM list
in this discussion (see http://jikesrvm.org/Mailing+Lists)

My first suggestion would be that you try running the main build.xml
in the root of the RVM tree by invoking 'ant' from that directory.
You will need to set host.name to the desired value from build/hosts,
ia32-osx in your case, so use 'ant -Dhost.name=ia32-osx'.  Invoking
the Classpath sub-build separately, as you do above, will mean that
any prerequisites for it are not being built.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux