Anders - that did the trick - THANKS!
Output:
Classpath: /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/Logger/build:/usr/ports/net-m gmt/nav/work/nav-3.2.2/src/src/vlanPlot/build:/usr/ports/net-mgmt/nav/work/n av-3.2.2/src/src/ConfigParser/build:/usr/ports/net-mgmt/nav/work/nav-3.2.2/s rc/src/Database/build:/usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/Util/bu ild:/usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/Event/build:/usr/ports/ne t-mgmt/nav/work/nav-3.2.2/src/src/NetboxInfo/build:/usr/ports/net-mgmt/nav/w ork/nav-3.2.2/src/src/eventEngine/build:/usr/ports/net-mgmt/nav/work/nav-3.2 .2/src/src/SimpleSnmp/build:/usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/g etBoksMacs/build:/usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/getDeviceDat a/build:/usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/networkDiscovery/buil d:/usr/ports/net-mgmt/nav/work/nav-3.2.2/src/src/webapps/navAdmin/build:/usr /ports/net-mgmt/nav/work/nav-3.2.2/src/src/webapps/vPServer/build:/usr/local /nav/lib/java/ConfigParser.jar:/usr/local/nav/lib/java/Database.jar:/usr/loc al/nav/lib/java/Event.jar:/usr/local/nav/lib/java/Logger.jar:/usr/local/nav/ lib/java/NetboxInfo.jar:/usr/local/nav/lib/java/SimpleSnmp.jar:/usr/local/na v/lib/java/Util.jar:/usr/local/nav/lib/java/postgresql.jar:/usr/local/nav/li b/java/snmp.jar:/usr/local/share/java/classes/postgresql.jar:/usr/local/shar e/java/classes/snmp.jar
INSTALL_TARGETS: Logger_inst vlanPlot_inst ConfigParser_inst Database_inst Util_inst Event_inst NetboxInfo_inst eventEngine_inst SimpleSnmp_inst getBoksMacs_inst getDeviceData_inst networkDiscovery_inst webapps/navAdmin_inst webapps/vPServer_inst
-----Original Message----- From: Anders Nordby [mailto:anders@fupp.net] Sent: Friday, May 09, 2008 6:01 PM To: nav-users@uninett.no; Scorpion7 Cc: 'Morten Brekkevold' Subject: Re: NAV build on FreeBSD v7.x
Hi,
The nav port uses GNU make, so try gmake debug instead of make debug.
Cheers, Anders.
On Fri, May 09, 2008 at 03:50:49PM -0400, Scorpion7 wrote:
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"
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
-- Anders.