Проблема при сборке из портов

Started by GA$, October 12, 2007, 04:56:19 PM

Previous topic - Next topic

GA$

Система FreeBSD 6.2-RELEASE-p7 i386

При компиляции с nxhttpd возникает ошибка:

c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include   -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT alarm.o -MD -MP -MF .deps/alarm.Tpo -c -o alarm.o alarm.cpp
In file included from alarm.cpp:24:
nxhttpd.h: In member function `void HttpResponse::EndBox(BOOL)':
nxhttpd.h:173: error: invalid conversion from `const char*' to `char*'
nxhttpd.h:173: error:   initializing argument 1 of `void HttpResponse::AppendBody(char*, int)'
alarm.cpp: In member function `void ClientSession::ShowAlarmList(HttpResponse&, NXC_OBJECT*, BOOL, char*)':
alarm.cpp:227: error: invalid conversion from `const char*' to `char*'
alarm.cpp:227: error:   initializing argument 1 of `const String& String::operator=(char*)'
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/nxhttpd.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/nxhttpd.


weec

пожалуйста выложите configure.log


weec


GA$

Самые свежие
[17:36] ns:/home/gas/# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.
[17:36] ns:/home/gas/# portversion -v netxms
netxms-0.2.18.2             =  up-to-date with port

weec

пожалуйста выложите вывод `pkg_info`

GA$


# pkg_info
GeoIP-1.4.2         Find the country that any IP address or hostname originates
ImageMagick-nox11-6.3.5.10 Image processing tools
aalib-1.4.r5_4      An ascii art library
apache-1.3.39_2     The extremely popular Apache http server. Very fast, very c
arc-5.21o_1         Create & extract files from DOS .ARC files
arj-3.10.22_1       Open-source ARJ
autoconf-2.61_2     Automatically configure source code on many Un*x platforms
autoconf-wrapper-20070404 Wrapper script for GNU autoconf
automake-1.4.6_4    GNU Standards-compliant Makefile generator (1.4)
automake-1.9.6_2    GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20070404 Wrapper script for GNU automake
bash-3.2.25         The GNU Project's Bourne Again SHell
bigreqsproto-1.0.2  BigReqs extension headers
bison-1.75_2,1      A parser generator from FSF, (mostly) compatible with Yacc
bsdpan-LCDd-0.03    LCDd - communicate with a LCDproc v0.4 server
camserv-0.5.1_6,1   Camserv is a free program to do streaming video via the web
cclient-2006j_1,1   Mark Crispin's C-client mail access routines
clamav-0.91.2       Command line virus scanner written entirely in C
colorize-0.3.4      A robust log colorizer
compat4x-i386-5.3_9 A convenience package to install the compat4x libraries
compositeproto-0.4  Composite extension headers
cups-base-1.3.3     Common UNIX Printing System
cvsup-without-gui-16.1h_3 General network file distribution system optimized for CVS
damageproto-1.1.0_2 Damage extension headers
db41-4.1.25_4       The Berkeley DB package, revision 4.1
dbmail-2.2.5        An SQL database-based mail system (POP3 and IMAP)
dmxproto-2.2.2      DMX extension headers
evieext-1.0.2       XEVIE extension headers
exim-mysql-4.68     High performance MTA for Unix systems on the Internet
expat-2.0.0_1       XML 1.0 parser written in C
ezm3-1.2_1          Easier, more portable Modula-3 distribution for building CV
fixesproto-4.0      Fixes extension headers
fontcacheproto-0.1.2 Fontcache extension headers
fontconfig-2.4.2_2,1 An XML-based font configuration API for X Windows
fontsproto-2.0.2    Fonts extension headers
freetype2-2.2.1_2   A free and portable TrueType font rendering engine
gd-2.0.35,1         A graphics library for fast creation of images
gdk-pixbuf-0.22.0_6 A graphic library for GTK+
gettext-0.16.1_3    GNU gettext package
ghostscript-gpl-nox11-8.60 GPL Postscript interpreter
glib-1.2.10_12      Some useful routines of C programming (previous stable vers
glib-2.12.13        Some useful routines of C programming (current stable versi
glproto-1.4.8       GLX extension headers
gmake-3.81_2        GNU version of 'make' utility
gmime-2.2.10        Library (written in C) for parsing and creating messages us
gnutls-1.6.3        GNU Transport Layer Security library
gsfonts-8.11_4      Fonts used by GNU Ghostscript (or X)
gtk-1.2.10_18       Gimp Toolkit for X11 GUI (previous stable version)
help2man-1.36.4_1   Automatically generating simple manual pages from program o
imapsync-1.223      IMAP synchronization copy or migration tool
imlib2-nox11-20070223_1,1 The next generation graphic library for enlightenment packa
inputproto-1.4.2.1  Input extension headers
isc-dhcp3-server-3.0.5_2 The ISC Dynamic Host Configuration Protocol server
jasper-1.900.1_6    An implementation of the codec specified in the JPEG-2000 s
jbigkit-1.6         Lossless compression for bi-level images such as scanned pa
jpeg-6b_4           IJG's jpeg compression utilities
kbproto-1.0.3       KB extension headers
lame-3.97_1         ISO code based fast MP3 encoder kit
lcdproc-0.5.2_1     A client/server suite for LCD devices
lcms-1.17,1         Light Color Management System -- a color management library
lha-1.14i_6         Archive files using LZSS and Huffman compression (.lzh file
libFS-1.0.0         The FS library
libGL-7.0.1         OpenGL library that renders using GLX or DRI
libGLU-7.0.1        OpenGL utility library
libICE-1.0.4,1      Inter Client Exchange library for X11
libSM-1.0.3,1       Session Management library for X11
libX11-1.1.3,1      X11 library
libXScrnSaver-1.1.2 The XScrnSaver library
libXTrap-1.0.0      The XTrap library
libXau-1.0.3_2      Authentication Protocol library for X11
libXaw-1.0.4,1      X Athena Widgets library
libXcomposite-0.4.0,1 X Composite extension library
libXcursor-1.1.9    X client-side cursor loading library
libXdamage-1.1.1    X Damage extension library
libXdmcp-1.0.2      X Display Manager Control Protocol library
libXevie-1.0.2      The Xevie library
libXext-1.0.3,1     X11 Extension library
libXfixes-4.0.3     X Fixes extension library
libXfont-1.3.1,1    X font libary
libXfontcache-1.0.4 The Xfontcache library
libXft-2.1.12       A client-sided font API for X applications
libXi-1.1.3,1       X Input extension library
libXinerama-1.0.2,1 X11 Xinerama library
libXmu-1.0.3,1      X Miscellaneous Utilities libraries
libXp-1.0.0,1       X print library
libXpm-3.5.7        X Pixmap library
libXprintAppUtil-1.0.1 The XprintAppUtil library
libXprintUtil-1.0.1 The XprintUtil library
libXrandr-1.2.2     X Resize and Rotate extension library
libXrender-0.9.4    X Render extension library
libXres-1.0.3_2     X Resource usage library
libXt-1.0.5         X Toolkit library
libXtst-1.0.3       X Test extension
libXv-1.0.3,1       X Video Extension library
libXvMC-1.0.4       X Video Extension Motion Compensation library
libXxf86dga-1.0.2   X DGA Extension
libXxf86misc-1.0.1  X XF86-Misc Extension
libXxf86vm-1.0.1    X Vidmode Extension
libart_lgpl-2.3.19,1 Library for high-performance 2D graphics
libcaca-0.99.b11_1  Graphics library that outputs text instead of pixels
libdca-0.0.5        Free DTS Coherent Acoustics decoder
libdmx-1.0.2        DMX extension library
libdrm-2.3.0        Userspace interface to kernel Direct Rendering Module servi
libdv-0.104_4       Quasar DV codec (libdv): software codec for DV video encodi
libexecinfo-1.1_1   A library for inspecting program's backtrace
libfontenc-1.0.4    The fontenc Library
libfpx-1.2.0.12     Library routines for working with Flashpix images
libgcrypt-1.2.4_1   "General purpose crypto library based on code used in GnuPG
libgmp-4.2.2        A free library for arbitrary precision arithmetic
libgpg-error-1.5    Common error values for all GnuPG components
libiconv-1.9.2_2    A character set conversion library
libid3tag-0.15.1b   ID3 tags library (part of MAD project)
libltdl-1.5.24      System independent dlopen wrapper
libmcrypt-2.5.8     Multi-cipher cryptographic library (used in PHP)
libogg-1.1.3,3      Ogg bitstream library
liboldX-1.0.1       Old X library
libpdel-0.5.3_2     Packet Design multi-purpose C library for embedded applicat
libsieve-2.2.5      A library for parsing, sorting and filtering mail
libtheora-1.0.a8    Theora video codec for the Ogg multimedia streaming system
libtool-1.5.24      Generic shared library support script
libungif-nox11-4.1.4_5 Tools and library routines for working with GIF images
libvorbis-1.2.0,3   Audio compression codec library
libxkbfile-1.0.4    XKB file library
libxkbui-1.0.2      The xkbui library
libxml2-2.6.30      XML parser library for GNOME
localedata-5.4      Legacy locale data for FreeBSD 6+
lynx-2.8.6.5_1,1    A non-graphical, text-based World-Wide Web client
m4-1.4.9,1          GNU m4
makedepend-1.0.1,1  A dependency generator for makefiles
mc-4.6.1_6          Midnight Commander, a free Norton Commander Clone
mencoder-0.99.10_1  Convenient video file and movie encoder
mhash-0.9.7.1       An easy-to-use library for strong hashes such as MD5 and SH
ming-0.3.0_2        LGPL'ed Flash 4/5 movie output library with many languages
mldonkey-core-2.9.1_1 A OCAML client for multiple peer-to-peer networks
mm-1.4.2            Shared memory allocation library for pre-forked process mod
mod_realip-2.0      Apache module to fix IP addresses in proxied requests
mplayer-0.99.10_14  High performance media player supporting many formats
mrtg-2.15.2,1       The multi-router traffic grapher
mysql-client-5.1.21 Multithreaded SQL database (client)
mysql-server-5.1.21 Multithreaded SQL database (server)
nasm-0.98.39,1      General-purpose multi-platform x86 assembler
net-snmp-5.3.1_4    An extendable SNMP implementation
netpbm-10.26.45     A toolkit for conversion of images between different format
netxms-0.2.18.2     NetXMS - network monitoring system
ocaml-notk-3.09.3_1 The Objective Caml compiler and programming environment
openldap-client-2.3.38 Open source LDAP client implementation
p5-Compress-Raw-Zlib-2.006 Low-Level Interface to zlib compression library
p5-Compress-Zlib-2.006 Perl5 interface to zlib compression library
p5-DBD-mysql51-4.005 MySQL 5.1 driver for the Perl5 Database Interface (DBI)
p5-DBI-1.59         The perl5 Database Interface.  Required for DBD::* modules
p5-Date-Manip-5.44  Perl5 module containing date manipulation routines
p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm
p5-GD-2.35_1        A perl5 interface to Gd Graphics Library version2
p5-GD-Graph-1.44_1  Graph plotting module for perl5
p5-GD-TextUtil-0.86_1 Text utilities for use with GD drawing package
p5-IO-Compress-Base-2.006 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.006 Perl5 interface for reading and writing of (g)zip files
p5-IO-Socket-SSL-1.09 Perl5 interface to SSL sockets
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Mail-IMAPClient-2.2.9 Perl5 module to talk to a IMAP4rev1 (RFC2060) server
p5-Net-SSLeay-1.30_1 Perl5 interface to SSL
p5-Parse-RecDescent-1.94 A recursive descent parsing framework for Perl
p5-PathTools-3.25   A Perl module for portably manipulating file specifications
p5-Pod-Parser-1.35  Modules to work with POD (Plain Old Documentation)
p5-Quota-1.5.1      Perl module that provides access to filesystem quotas
p5-SNMP_Session-1.08 A perl5 module providing rudimentary access to SNMPv1 and v
p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to have in the perl cor
p5-Storable-2.16    Persistency for perl data structures
p5-Term-ANSIColor-1.11 Color screen output using ANSI escape sequences
p5-Term-ReadKey-2.30 A perl5 module for simple terminal control
p5-Text-Balanced-2.0.0_1 Extract delimited text sequences from strings
p5-Text-Iconv-1.5   Perl interface to iconv() codeset conversion function
p5-gettext-1.05_1   Message handling functions
p5-version-0.73     Perl extension for Version Objects
pcre-7.3            Perl Compatible Regular Expressions library
pdflib-7.0.2        A C library for dynamically generating PDF
pear-1.6.2          PEAR framework for PHP
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
pecl-filter-0.11.0  PHP extension for safely dealing with input parameters
pecl-hash-1.5       HASH Message Digest Framework for PHP
pecl-pdflib-2.1.4   A PECL extension to create PDF on the fly
pecl-zip-1.9.0      A PECL extension to create and read zip files
perl-5.8.8          Practical Extraction and Report Language
php5-5.2.4_1        PHP Scripting Language
php5-bz2-5.2.4_1    The bz2 shared extension for php
php5-calendar-5.2.4_1 The calendar shared extension for php
php5-ctype-5.2.4_1  The ctype shared extension for php
php5-dom-5.2.4_1    The dom shared extension for php
php5-ftp-5.2.4_1    The ftp shared extension for php
php5-gd-5.2.4_1     The gd shared extension for php
php5-gettext-5.2.4_1 The gettext shared extension for php
php5-iconv-5.2.4_1  The iconv shared extension for php
php5-imap-5.2.4_1   The imap shared extension for php
php5-ldap-5.2.4_1   The ldap shared extension for php
php5-mbstring-5.2.4_1 The mbstring shared extension for php
php5-mcrypt-5.2.4_1 The mcrypt shared extension for php
php5-mhash-5.2.4_1  The mhash shared extension for php
php5-ming-5.2.4_1   The ming shared extension for php
php5-mysql-5.2.4_1  The mysql shared extension for php
php5-openssl-5.2.4_1 The openssl shared extension for php
php5-pcre-5.2.4_1   The pcre shared extension for php
php5-pdo-5.2.4_1    The pdo shared extension for php
php5-posix-5.2.4_4  The posix shared extension for php
php5-readline-5.2.4_1 The readline shared extension for php
php5-rrdtool-1.00   A php 5 rrdtool glue
php5-session-5.2.4_1 The session shared extension for php
php5-simplexml-5.2.4_1 The simplexml shared extension for php
php5-snmp-5.2.4_1   The snmp shared extension for php
php5-sockets-5.2.4_1 The sockets shared extension for php
php5-spl-5.2.4_1    The spl shared extension for php
php5-tokenizer-5.2.4_1 The tokenizer shared extension for php
php5-xml-5.2.4_1    The xml shared extension for php
php5-xmlreader-5.2.4_1 The xmlreader shared extension for php
php5-xmlwriter-5.2.4_1 The xmlwriter shared extension for php
php5-zlib-5.2.4_1   The zlib shared extension for php
phpMyAdmin-2.11.1   A set of PHP-scripts to manage MySQL over the web
phpsview-10.0.5_3   Philips USB Cameras Utilities for NetBSD/FreeBSD
pixman-0.9.5_2      Low-level pixel manipulation library
pkg-config-0.22     A utility to retrieve information about installed libraries
png-1.2.18          Library for manipulating PNG images
popt-1.7_4          A getopt(3) like library with a number of enhancements, fro
portaudit-0.5.11    Checks installed ports against a list of security vulnerabi
portupgrade-2.3.1,2 FreeBSD ports/packages administration and management tool s
printproto-1.0.3    Print extension headers
pwcbsd-1.4.0        The Linux pwc webcam driver ported to FreeBSD
randrproto-1.2.1    Randr extension headers
recode-3.6_6        Converts files between character sets and usages
recordproto-1.13.2  RECORD extension headers
renderproto-0.9.3   RenderProto protocol headers
resourceproto-1.0.2 Resource extension headers
rrdtool-1.2.23      Round Robin Database Tools
ruby-1.8.6_2,1      An object-oriented interpreted scripting language
ruby18-bdb-0.6.2    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
samba-3.0.26a_1,1   A free SMB and CIFS client and server for UNIX
screen-4.0.3        A multi-screen window manager
scrnsaverproto-1.1.0 ScrnSaver extension headers
sdl-nox11-1.2.11_1,2 Cross-platform multi-media development API
smarty-2.6.18       The PHP compiling template engine
squid-2.6.16        HTTP Caching Proxy
squirrelmail-1.4.10a A webmail system which accesses mail over IMAP
squirrelmail-avelsieve-plugin-1.9.7 Interface to create server-side Sieve scripts
svgalib-1.4.3_5     A low level console graphics library
t1lib-5.1.1_2,1     A Type 1 Rasterizer Library for UNIX/X11
tiff-3.8.2_1        Tools and library routines for working with TIFF images
trapproto-3.4.3     DEC-XTRAP extension headers
unzip-5.52_3        List, test and extract compressed files in a ZIP archive
ventrilo-server-2.3.1 Server side of the Ventrilo group voice chat system
verlihub-0.9.8.d.r1_1,1 A Direct Connect protocol server (Hub)
videoproto-2.2.2    Video extension headers
wget-1.10.2_1       Retrieve files from the Net via HTTP and FTP
win32-codecs-3.1.0.r1,1 Huge compilation of Win32 binary video codecs
xcmiscproto-1.1.2   XCMisc extension headers
xextproto-7.0.2     XExt extension headers
xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
xf86dgaproto-2.0.3  XFree86-DGA extension headers
xf86miscproto-0.9.2 XFree86-Misc extension headers
xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers
xineramaproto-1.1.2 Xinerama extension headers
xorg-libraries-7.3_1 X.org libraries meta-port
xproto-7.0.10       X11 protocol headers
xtrans-1.0.4        Abstract network code for X
xvid-1.1.3,1        An opensource MPEG-4 codec, based on OpenDivx

weec

ок, деинсталируйте netxms, запустите 'make clean && make config', выберите только NXHTTPD, затем 'make build'
если ошибка повторится, выложите здесь её вывод (последние 30 строчек)

GA$

а зачем деинсталировать? оно и так хорошо компилиться...

/bin/sh ../../libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include   -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT snmptrap.lo -MD -MP -MF .deps/snmptrap.Tpo -c -o snmptrap.lo snmptrap.cpp
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT snmptrap.lo -MD -MP -MF .deps/snmptrap.Tpo -c snmptrap.cpp  -fPIC -DPIC -o .libs/snmptrap.o
mv -f .deps/snmptrap.Tpo .deps/snmptrap.Plo
/bin/sh ../../libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include   -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT snmp.lo -MD -MP -MF .deps/snmp.Tpo -c -o snmp.lo snmp.cpp
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT snmp.lo -MD -MP -MF .deps/snmp.Tpo -c snmp.cpp  -fPIC -DPIC -o .libs/snmp.o
mv -f .deps/snmp.Tpo .deps/snmp.Plo
/bin/sh ../../libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include   -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT users.lo -MD -MP -MF .deps/users.Tpo -c -o users.lo users.cpp
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT users.lo -MD -MP -MF .deps/users.Tpo -c users.cpp  -fPIC -DPIC -o .libs/users.o
mv -f .deps/users.Tpo .deps/users.Plo
/bin/sh ../../libtool --tag=CXX    --mode=link c++   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -version-info 0:2:0 -L/usr/local/lib -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -pthread -liconv -o libnxcl.la -rpath /usr/local/lib actions.lo agentcfg.lo alarms.lo cert.lo  comm.lo datacoll.lo epp.lo eventdb.lo events.lo graph.lo  image.lo layer2.lo lpp.lo main.lo map.lo mib.lo mp.lo  objects.lo objtools.lo package.lo script.lo server.lo  session.lo snmptrap.lo snmp.lo users.lo ../libnetxms/libnetxms.la ../libnxmap/libnxmap.la -lgd -lcrypto -lcrypto -lcrypto
c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/actions.o .libs/agentcfg.o .libs/alarms.o .libs/cert.o .libs/comm.o .libs/datacoll.o .libs/epp.o .libs/eventdb.o .libs/events.o .libs/graph.o .libs/image.o .libs/layer2.o .libs/lpp.o .libs/main.o .libs/map.o .libs/mib.o .libs/mp.o .libs/objects.o .libs/objtools.o .libs/package.o .libs/script.o .libs/server.o .libs/session.o .libs/snmptrap.o .libs/snmp.o .libs/users.o  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/libnetxms/.libs -Wl,--rpath -Wl,/usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/libnxmap/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/libnetxms/.libs -L/usr/local/lib -L/usr/lib -lssl /usr/local/lib/libiconv.so ../libnetxms/.libs/libnetxms.so ../libnxmap/.libs/libnxmap.so -lgd -lcrypto -lstdc++ -lm -lgcc_pic /usr/lib/crtendS.o /usr/lib/crtn.o  -pthread -Wl,-soname -Wl,libnxcl.so.0 -o .libs/libnxcl.so.0
(cd .libs && rm -f libnxcl.so && ln -s libnxcl.so.0 libnxcl.so)
(cd .libs && rm -f libnxcl.so && ln -s libnxcl.so.0 libnxcl.so)
creating libnxcl.la
(cd .libs && rm -f libnxcl.la && ln -s ../libnxcl.la libnxcl.la)
Making all in nxhttpd
Making all in static
Making all in images
Making all in buttons
Making all in normal
Making all in pressed
Making all in ctrlpanel
Making all in objects
Making all in status
/usr/bin/perl ../../tools/mc.pl messages.mc
cc -DHAVE_CONFIG_H -I. -I../.. -I../../include   -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -O2 -fno-strict-aliasing -pipe  -I/usr/local/include -MT messages.o -MD -MP -MF .deps/messages.Tpo -c -o messages.o messages.c
mv -f .deps/messages.Tpo .deps/messages.Po
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include   -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -O2 -fno-strict-aliasing -pipe -I/usr/local/include -MT alarm.o -MD -MP -MF .deps/alarm.Tpo -c -o alarm.o alarm.cpp
In file included from alarm.cpp:24:
nxhttpd.h: In member function `void HttpResponse::EndBox(BOOL)':
nxhttpd.h:173: error: invalid conversion from `const char*' to `char*'
nxhttpd.h:173: error:   initializing argument 1 of `void HttpResponse::AppendBody(char*, int)'
alarm.cpp: In member function `void ClientSession::ShowAlarmList(HttpResponse&, NXC_OBJECT*, BOOL, char*)':
alarm.cpp:227: error: invalid conversion from `const char*' to `char*'
alarm.cpp:227: error:   initializing argument 1 of `const String& String::operator=(char*)'
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/nxhttpd.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src/nxhttpd.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2/src.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.18.2.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms.


Полный вывод тут

Victor Kirhenshtein

Ochen' stranno vse vigljadit, kak budto gde-to ostalis' starie kuski koda. Takih oshibok ili dolzno bilo pojavitsja mnogo, ili ne odnoj. V ljubom sluchae ja posmotrel eti mesta v tekuschej versii, port na osnove 0.2.19 dolzen sobratsja bez problem.

GA$

Изменил порт до версии 0.1.19, все скомпилилось, запустилось, но при апгрейде базы нашлась бага небольшая, путь не может найти
# nxdbmgr upgrade
NetXMS Database Manager Version 0.2.19

Unable to open configuration file (/etc/netxmsd.conf): No such file or directory
Error loading configuration file

естественно можно задать ключь "-c", но не очень красиво получается

weec

'cp /usr/local/netxms/etc/netxmsd.conf-dist /usr/local/netxms/etc/netxmsd.conf'

на данный момент netxms всё ещё не поддерживает поиск конфигурационных файлов в путях их размещения по умолчанию