Ad Widget

Collapse

Building 1.1 beta2 on Fedore Core 4 64 Bit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 0x00coffee
    Junior Member
    • Nov 2005
    • 4

    #1

    Building 1.1 beta2 on Fedore Core 4 64 Bit

    I had initial problem building 64 bit version. But after changing /usr/lib and /usr/lib/mysql to /usr/lib64 and /usr/lib64/mysql and adding CFLAGS="-g -O2 -m64" Did the trick. I was able to build 64 bit version on FC4. It would be nice if the configure script would support this out of the box when you pass -m64 as part of CFLAGS or some auto detection.

    Also to build 32 bit version I have to ls -n /usr/lib/libnetsnmp.so /usr/lib/libnetsnmp.so.5. This fixed the linking.

    Still working on making static linking
  • azilber
    Member
    • Apr 2005
    • 33

    #2
    Compiles are a big funky..

    Originally posted by 0x00coffee
    I had initial problem building 64 bit version. But after changing /usr/lib and /usr/lib/mysql to /usr/lib64 and /usr/lib64/mysql and adding CFLAGS="-g -O2 -m64" Did the trick. I was able to build 64 bit version on FC4. It would be nice if the configure script would support this out of the box when you pass -m64 as part of CFLAGS or some auto detection.

    Also to build 32 bit version I have to ls -n /usr/lib/libnetsnmp.so /usr/lib/libnetsnmp.so.5. This fixed the linking.

    Still working on making static linking

    I've noticed that compiles are flaky on different platforms. Probably because it's untested. Someone really needs to go in and redo the configure scripts. Building agents on FreeBSD was a hassle as well. The make process is broken, halfway through you have to move files around manually then let it continue the build. Personally I enjoy the challenge, but someone not used compiling software would probably be lost.

    -Alex

    Comment

    • 0x00coffee
      Junior Member
      • Nov 2005
      • 4

      #3
      Alex,

      What is the time frame for next update/release?

      Robert

      Comment

      • 0x00coffee
        Junior Member
        • Nov 2005
        • 4

        #4
        Also, not sure Alex if you noticed this but http://www.zabbix.com/manual/v1.1/index.php is invalid

        Robert

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Originally posted by azilber
          The make process is broken, halfway through you have to move files around manually then let it continue the build.
          ZABBIX agent build is automatically tested on a dozen of platforms and it works without any problems (Fedora 3/64bit is included). If a distribution is using non-standard locations for libraries like /usr/lib64 (as obviously FC4 does), what can ZABBIX configuration scripts do about this?
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • azilber
            Member
            • Apr 2005
            • 33

            #6
            They can be tailored to take that into account?

            Originally posted by Alexei
            ZABBIX agent build is automatically tested on a dozen of platforms and it works without any problems (Fedora 3/64bit is included). If a distribution is using non-standard locations for libraries like /usr/lib64 (as obviously FC4 does), what can ZABBIX configuration scripts do about this?
            Every distrubution puts files in a different location, so what makes FC4 different from any other distro? Just FYI, I'm no the one who originally posted the question about FC4_64bit. I've never tried it under FC4 64bit. My comments were regarding the regular FC4 distro where the build breaks as well.
            Perhaps a second effort should be started to rewrite the configuration rules. I know you're probably tied up with more important work in developing the actual code, and I personally can deal with manual compiles, but other people are not as fortunate. Once I have some more time I will put some effort into helping out in this area.

            Thanks,
            -Alex

            Comment

            • vaneet
              Junior Member
              • Nov 2006
              • 3

              #7
              problem in make on 64 bit RHEL ES

              Someone on this post solved the 64 bit problem by below solution.


              I had initial problem building 64 bit version. But after changing /usr/lib and /usr/lib/mysql to /usr/lib64 and /usr/lib64/mysql and adding CFLAGS="-g -O2 -m64" Did the trick. I was able to build 64 bit version on FC4. It would be nice if the configure script would support this out of the box when you pass -m64 as part of CFLAGS or some auto detection.

              can someone elaborate how to do this? I mean step by step ?

              thanks,
              vaneet

              Comment

              • Alexei
                Founder, CEO
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Sep 2004
                • 5654

                #8
                We have significantly improved configuration scripts to detect various locations of header and library files. This is for 1.3.x only. It is too risky release it for 1.1.x.
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                Working...