When doing the "make debug":
-------------- make debug "Makefile", line 44: Need an operator make: fatal errors encountered -- cannot continue --------------
If I comment out that line (line #44): export -> #export
-------------- make debug Classpath:
INSTALL_TARGETS: --------------
Thoughts?
-----Original Message----- From: Morten Brekkevold [mailto:morten.brekkevold@uninett.no] Sent: Wednesday, May 07, 2008 5:15 AM To: nav-users@uninett.no Cc: Scorpion7 Subject: Re: NAV build on FreeBSD v7.x
On Fri, 2 May 2008 15:12:59 -0400 "Scorpion7" scorpion7@iqonline.net wrote:
Here is what happens when building NAV 3.2.2 on FreeBSD v7.x via the
"ports" collection: [snip]
compile: [javac] Compiling 1 source file to /usr/ports/net-
mgmt/nav/work/nav-3.2.2/src/Logger/build
[javac] /usr/ports/net-mgmt/nav/work/nav-
3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:33: package no.ntnu.nav.ConfigParser does not exist
[javac] import no.ntnu.nav.ConfigParser.*; [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-
3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:34: cannot find symbol
[javac] symbol : class Path [javac] location: package no.ntnu.nav [javac] import no.ntnu.nav.Path; [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-
3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:69: cannot find symbol
[javac] symbol : variable Path [javac] location: class no.ntnu.nav.logger.Log [javac] private static final String navConfigFile =
(Path.sysconfdir + "/nav.conf").replace('/', File.separatorChar);
[javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-
3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:88: cannot find symbol
[javac] symbol : class ConfigParser [javac] location: class no.ntnu.nav.logger.Log [javac] ConfigParser navCp; [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-
3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:90: cannot find symbol
[javac] symbol : class ConfigParser [javac] location: class no.ntnu.nav.logger.Log [javac] navCp = new
ConfigParser(navConfigFile);
[javac] ^ [javac] 5 errors
BUILD FAILED /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/build.xml:30:
Compile failed; see the compiler error output for details. [snip]
BTW - How would one normally get the compiler error output? I can include the output with some insight on how one normally get's the output.
You already pasted the compiler error output, it's all under the "compile:" section.
It says it can't find a couple of the NAV libraries, which is strange. It suggests the CLASSPATH hasn't been set correctly when building the Logger library, yet the build process should set the CLASSPATH to include all the build directories under src/ .
If you cd to /usr/ports/net-mgmt/nav/work/nav-3.2.2/src and type "make debug", what output do you get (it should tell you what CLASSPATH is used when building the Java sources).
-- mvh Morten Brekkevold UNINETT