make error

Help
Swifty
2009-05-03
2013-04-25
  • Swifty

    Swifty - 2009-05-03

    My ISP is very flexible; will install anything I ask for, so I got ooRexx and RexxSQL. Even offered me root access on the server if I wanted it. I should point out that the fellow hosting my website on his Linux server is a work colleague.

    He ran into a problem installing RexxSQL and sent me a couple of files, make.err and make.out and I'd like to work out what's wrong without taking up too much of his time. So I'm taking up your time instead, thank you very much.

    Here are the files: http://www.swiftys.org.uk/make.out and http://www.swiftys.org.uk/make.err

    I can gather other information as required.

    Is it obvious what we need to do to correct this?

     
    • Norbert

      Norbert - 2009-05-03

      Steve, what version of ooRexx did you install?  Check out https://sourceforge.net/forum/forum.php?thread_id=3235487&forum_id=97066 for issues with Rexx/SQL on ooRexx version 4 and a possible solution.

       
      • Swifty

        Swifty - 2009-05-03

        Well, without troubling my friend for the gory details, rexx -v shows:

        Open Object Rexx Interpreter Version 3.2.0 for LINUX
        Build date: Oct 30 2007

         
        • Norbert

          Norbert - 2009-05-04

          Try the suggestion in http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.rexx/2009-01/msg00063.html

          I wasn't sure where to put the #undef statement - I tried early in the file and after the '#undef USE_OREXX' statement.  I don't think it mattered.

           
          • Swifty

            Swifty - 2009-05-04

            That certainly looks likely to be the answer, thank you.

            I've forwarded the reference (plus the necessary trailing -l) to my "ISP". It's a  public holiday here in the UK. I'm not sure if that makes him more or less likely to try it today.

             
          • Swifty

            Swifty - 2009-05-04

            Significant progress, thanks.
            make.out  is smaller: http://www.swiftys.org.uk/make_2.out
            make.err is considerably smaller: http://www.swiftys.org.uk/make_2.err

            A (re)install of libdl seems to be the next step.

             
            • Swifty

              Swifty - 2009-05-04

              Sysadmin: Tried with a forced install of glibc 2.8 and glibc-devel-2.8 and that didn't solve it.

               
            • Norbert

              Norbert - 2009-05-04

              Steve, adding '-ldl'  in Makefile and then doing a 'make' and 'make install' fixed my problems linking the dl* functions.  There were four places in Makefile that I modified.

              nhoeller@300PL:~/RexxSQL-2.5$ cat Makefile | grep ldl
              LD_RXLIB2  =       -L/opt/ooRexx/lib/ooRexx -lrexx -lrexxapi  -lm -lnsl -ldl
                      $(LINK) $(LDFLAGS) -o $@ $(SSQLOBJS) $(LIBS) $(DBLIB1) -L/opt/ooRexx/lib/ooRexx -lrexx -lrexxapi -L/usr/lib -lmysqlclient -lz $(DBLIB2) $(DBLIB3) $(DBLIB4)  -lm -lnsl -ldl
                      $(LINK) $(LDFLAGS) -o $@ $(SDBOBJS) $(LIBS) $(DBLIB1) -L/opt/ooRexx/lib/ooRexx -lrexx -lrexxapi -L/usr/lib -lmysqlclient -lz $(DBLIB2) $(DBLIB3) $(DBLIB4)  -lm -lnsl -ldl
                      $(LD_RXLIB1) $(RXPACKEXPORTS1) -o $@ $(DSQLOBJS) $(LD_RXLIB2) $(LIBS) $(DBLIB1) -L/opt/ooRexx/lib/ooRexx -lrexx -lrexxapi -L/usr/lib -lmysqlclient -lz $(DBLIB2) $(DBLIB3) $(DBLIB4)  -lm -lnsl -ldl
                      $(LD_RXLIB1) $(RXPACKEXPORTS2) -o $@ $(DDBOBJS) $(LD_RXLIB2) $(LIBS) $(DBLIB1) -L/opt/ooRexx/lib/ooRexx -lrexx -lrexxapi -L/usr/lib -lmysqlclient -lz $(DBLIB2) $(DBLIB3) $(DBLIB4)  -lm -lnsl -ldl

               
              • Swifty

                Swifty - 2009-05-04

                Thanks, I've passed that on.

                 
              • Swifty

                Swifty - 2009-05-04

                Norbert,

                Your -ldl suggestion was the answer. It it now installed. Thank you very much!

                 

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks