I don't know about the *ix installers but, on Windows, there is an option to install the developer files as well as the samples and documentation. If you don't deselect it, the files get installed in the "api" subfolder under ooRexx.

On 8/25/2016 10:01 AM, CVBruce wrote:
I don’t know if you want to open a bug report on this, but it appears that the .deb ooRexx V5 beta package isn’t installing all the necessary header files to allow one to build other software. Is there an ooRexx-dev package that should be built and installed to do this? I will open a bug if that is what we need to do.

Bruce

Begin forwarded message:

*From: *Andy McMenemy <[email protected] <mailto:[email protected]>>
*Subject: **Re: [RexxLA] ooRexx 5 (Beta) with Rexx/SQL*
*Date: *August 25, 2016 at 3:22:32 AM PDT
*To: *RexxLA Members mailing list <[email protected] <mailto:[email protected]>> *Reply-To: *RexxLA Members mailing list <[email protected] <mailto:[email protected]>>

I copied the rexx.h header file but it still failed in a similar - clearly I need more. I suspect I need the source build package (which is what I had to do when I build Rexx/SQL for Regina on one of my other Pi systems).

Andy

On 25 August 2016 at 07:26, Andy McMenemy <[email protected] <mailto:[email protected]>> wrote:

    Bruce
    I installed it from the
    ooRexx-5.0.0-0.RaspbianJessie-armv71.i386.deb package.
    Thanks for sending the copy offline - I will try again later today.

    Andy

    On 25 August 2016 at 04:25, Bruce Skelly <[email protected]
    <mailto:[email protected]>> wrote:

        Hmm. Did you build ooRexx 5 or did you install if from a
        package.  If the later, then we need to make sure that the
        installer is installing the necessary files.  I will send you
        a copy offline.

        Bruce

        On Aug 24, 2016, at 12:02 PM, Andy McMenemy
        <[email protected] <mailto:[email protected]>>
        wrote:

        Thanks Bruce, I'm sure that's the problem. Where can I get
        the orexx 5 includes/libraries?
        Andy

        On Wednesday, 24 August 2016, CVBruce <[email protected]
        <mailto:[email protected]>> wrote:

            Oh, and if PSZ isn’t defined in your rexx.h then you
            probably have the Regina rexx.h and not the oorexx rexx.h

            Bruce
            On Aug 24, 2016, at 8:33 AM, CVBruce
            <[email protected]> wrote:

            PSZ is defined in rexx.h  which is in /usr/include. So
            somewhere you need a -I/usr/include

            Bruce
            On Aug 24, 2016, at 6:17 AM, Andy McMenemy
            <[email protected]> wrote:

            I may be breaking some new ground here, now that I
            have (perfectly) working Regina and Rexx/SQL on some
            of my Raspberry Pi systems, I am trying to configure
            the ooRexx 5 Beta with Rexx/SQL on a new Pi.

            I have done the following:

                sudo apt-get install libmysqlclient-dev libmysqld-dev
                sudo dpkg -i libregina3_3.9.1-1_armv6l-Debian-7.8.deb
                sudo dpkg -i
                libregina3-dev_3.9.1-1_armv6l-Debian-7.8.deb

            which have worked with incident; then I ran the
            configurator...

                sudo ./configure --with-rexx=oorexx
                --with-db=mysql --with-dbincdir=/usr/include/mysql
                --with-dblibdir=/usr/lib/arm-linux-gnueabihf

            which, again ran without incident and provided the
            following summary:

                Rexx/SQL has now been configured with the
                following options:

                 Rexx Interpreter: Open Object Rexx
                 Database: MySQL
                Database headers in: /usr/include/mysql
                Database libraries in: /usr/lib/arm-linux-gnueabihf
                    Build options:  32BIT
                  binaries will be installed in: ${exec_prefix}/bin
                 libraries will be installed in: ${exec_prefix}/lib
                 {prefix}: /usr/local
                {exec_prefix}: ${prefix}

                To build the Rexx/SQL binaries, and dynamically
                loadable libraries, type 'make'
                To install Rexx/SQL in the above directories, type
                'make install'


            But, (and you knew that was coming), when I run the
            "make" I get the following:

                sudo make
                gcc -c -O2 -O3 -Wall -fomit-frame-pointer
                -fno-strict-aliasing -Wno-char-subscripts -DNDEBUG
                -I. -I. -I./my -I./common -I./general
                 -DHAVE_CONFIG_H -DREXXSQL_VERSION=\""2.6B3"\"
                -DREXXSQL_DATE=\""23 May 2011"\" -I/usr/include
                -DLINUX -I/usr/include/mysql -I./my -o loader.o
                -DINIT_RXPACKAGE=init_RexxSQL
                -DTERM_RXPACKAGE=term_RexxSQL ./common/loader.c
                In file included from ./common/rxpack.h:130:0,
                 from ./common/loader.c:23:
                ./common/rxdef.h:537:31: error: unknown type name
                ‘PSZ’
                 # define RRFD_ARG0_TYPE       PSZ
                 ^
                ./common/rxpack.h:229:4: note: in expansion of
                macro ‘RRFD_ARG0_TYPE’
                RRFD_ARG0_TYPE  ExternalName;
                  ^

                (many tens of lines committed for clarity)

                ./common/loader.c:202:13: warning: variable
                ‘retstr’ set but not used [-Wunused-but-set-variable]
                  RXSTRING retstr;
                           ^
                ./common/loader.c: At top level:
                ./common/loader.c:21:13: warning: ‘RCSid’ defined
                but not used [-Wunused-variable]
                 static char RCSid[] = "$Id: loader.c,v 1.21
                2010/09/16 20:29:05 mark Exp $";
                           ^
                Makefile:201: recipe for target 'loader.o' failed
                make: *** [loader.o] Error 1

            I get similar results from the "make install" (but you
            would expect that).

            I was so close!
            Can anyone make any suggestions as to what I may need
            to do.

            Andy
            _______________________________________________
            rexxla-members mailing list --
            mailto:[email protected]
            http://rexxla.org/mailman/listinfo/rexxla-members
            <http://rexxla.org/mailman/listinfo/rexxla-members>

            _______________________________________________
            rexxla-members mailing list --
            mailto:[email protected]
            http://rexxla.org/mailman/listinfo/rexxla-members
            <http://rexxla.org/mailman/listinfo/rexxla-members>

        _______________________________________________
        rexxla-members mailing list --
        mailto:[email protected]
        <mailto:[email protected]>
        http://rexxla.org/mailman/listinfo/rexxla-members
        <http://rexxla.org/mailman/listinfo/rexxla-members>


        _______________________________________________
        rexxla-members mailing list --
        mailto:[email protected]
        <mailto:[email protected]>
        http://rexxla.org/mailman/listinfo/rexxla-members
        <http://rexxla.org/mailman/listinfo/rexxla-members>



_______________________________________________
rexxla-members mailing list -- mailto:[email protected]
http://rexxla.org/mailman/listinfo/rexxla-members



------------------------------------------------------------------------------


_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


--
Gil Barmwater

------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to