Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. 1.0.0-rc1 / 1.0.0-rc2 не собиратеся под FreeBSD 8

1.0.0-rc1 / 1.0.0-rc2 не собиратеся под FreeBSD 8

Scheduled Pinned Locked Moved Support (Russian)
10 Posts 3 Posters 43.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    Jazzy
    wrote on last edited by
    #1

    Приветствую.
    Пытаюсь сделать новый port для под FreeBSD, но 1.0.0-rc1 не собирается:

    # uname -a
    FreeBSD t-srv1.szkti.ru 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0:
    Tue Jan  5 16:02:27 UTC 2010     [email protected]:/usr/obj/usr/src/sys/GENERIC  i386

    #./configure --with-server --with-mysql --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0
    ...
    checking for iconv declaration... const
    checking for mysql_init in -lmysqlclient... yes
    checking whether mysql clients can run... no
    configure: error: Your MySQL client libraries aren't properly installed

    В то время как 0.2.31 - собирается превосходно!

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      A prishlite pozalujsta config.log

      1 Reply Last reply
      0
      • J
        J
        Jazzy
        wrote on last edited by
        #3

        Во вложении.


        config.log.bz2

        1 Reply Last reply
        0
        • J
          J
          Jazzy
          wrote on last edited by
          #4

          # locate libmysqlclient.so
          /usr/local/lib/mysql/libmysqlclient.so
          /usr/local/lib/mysql/libmysqlclient.so.15

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Poprobujte zapustit' configure kak:

            #LDFLAGS=-lmysqlclient ./configure --with-server --with-mysql --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0

            Pohoze chto eto bug v configure.

            1 Reply Last reply
            0
            • J
              J
              Jazzy
              wrote on last edited by
              #6

              Удалось сконфигурить так:

              ./configure LDFLAGS=-lmysqlclient --with-server --with-mysql --prefix=/usr/local
              --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0

              ---------------------------------------------------------------------
                                      Configure results
              ---------------------------------------------------------------------

              Prefix                  : /usr/local
              Build Server            : YES
              Encryption enabled      : YES
              Build DB-Drivers        : mysql
              Build Clients          : NO
              Build Web Interface    : NO
              Build Agent            : YES
              Subagents list          : freebsd
              Build Static Agent      : NO
              Build UNICODE libraries : NO
              Use internal libexpat  : NO
              CPPFLAGS                :  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysq
              l/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"${prefix}\" -DPREFIXW=L\"${prefix}
              " -DDATADIR=\"${pkgdatadir}\" -DLIBDIR=\"${libdir}\"
              CXXFLAGS                : -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated
              CFLAGS                  : -g -O2
              LDFLAGS                : -lmysqlclient -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -
              L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/lib -pthread -liconv
              MySQL libs              : -lmysqlclient

              но далее не проходит make

              /bin/sh ../../libtool --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include    -I/usr/local/mysql/include -I/usr/inclu
              de/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 -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/li
              b\"  -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.cpp
               g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/m
              ysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\"
              -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated
               -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cpp  -fPIC -DPIC -o .libs/log.o
              log.cpp: In function 'void nxlog_write(DWORD, WORD, const char*, ...)':
              log.cpp:423: error: invalid conversion from 'int' to 'const char*'
              log.cpp:423: error:  initializing argument 1 of 'char* strdup(const char*)'
              *** Error code 1

              Stop in /usr/ports/net-mgmt/netxms-current/work/netxms-1.0.0-rc1/src/libnetxms.
              *** Error code 1

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

              Stop in /usr/ports/net-mgmt/netxms-current/work/netxms-1.0.0-rc1.
              *** Error code 1

              Stop in /usr/ports/net-mgmt/netxms-current/work/netxms-1.0.0-rc1.

              1 Reply Last reply
              0
              • B
                B
                blacat
                wrote on last edited by
                #7

                Собираю в Gentoo Linux
                та же история

                checking for mysql_init in -lmysqlclient... yes
                checking whether mysql clients can run... no
                configure: error: Your MySQL client libraries aren't properly installed
                
                1 Reply Last reply
                0
                • J
                  J
                  Jazzy
                  wrote on last edited by
                  #8

                  Та же беда 1.0.0-rc2 и FreeBSD8

                  # make
                  make  all-recursive
                  Making all in m4
                  Making all in contrib
                  Making all in startup
                  Making all in gentoo
                  Making all in redhat
                  Making all in suse
                  Making all in ubuntu
                  Making all in mibs
                  Making all in backgrounds
                  Making all in include
                  Making all in src
                  Making all in libnetxms
                  /bin/sh ../../libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include    -I/usr/local/mysql/include -I/usr/inclu
                  de/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 -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/li
                  b\"  -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.cpp
                   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/m
                  ysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\"
                  -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -O2 -pipe -I/usr/local/include -fno-strict-alias
                  ing -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cpp  -fPIC -DPIC -o .libs/log.o
                  log.cpp: In function 'void nxlog_write(DWORD, WORD, const char*, ...)':
                  log.cpp:423: error: invalid conversion from 'int' to 'const char*'
                  log.cpp:423: error:  initializing argument 1 of 'char* strdup(const char*)'
                  *** Error code 1

                  Stop in /home/jazzy/netxms-current/netxms-1.0.0-rc2/src/libnetxms.
                  *** Error code 1

                  Stop in /home/jazzy/netxms-current/netxms-1.0.0-rc2/src.
                  *** Error code 1

                  Stop in /home/jazzy/netxms-current/netxms-1.0.0-rc2.
                  *** Error code 1

                  Stop in /home/jazzy/netxms-current/netxms-1.0.0-rc2.

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #9

                    Ja ispravil odin bag v configure i perepakoval 1.0.0-rc2 (https://www.netxms.org/download/netxms-1.0.0-rc2.tar.gz) - poprobujte novij variant.

                    1 Reply Last reply
                    0
                    • J
                      J
                      Jazzy
                      wrote on last edited by
                      #10

                      Спасибо!
                      Все собрал и запустил.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups