hi there
i'm a newbie(ish) to linux and gallery2. i've got a general idea about the structure of gallery 2 but am having trouble running the GUNmake files that create sql statements.
i've built my new class files in the classes folder of a new module and added all the @g2 syntax and xml for the new table. i copied over a GalleryStorage folder from another module and the GUNmakefile and put it into my classes folder. when i first ran it (by typing "make" while in the classes folder, is this right?) i got an error saying i needed the rxp command. so i got that installed and ran it again. i now got an error saying there was some sort of error on line 1 of my class. and no errors when i ran it a second time. but there is not the correct sql file in the folders for each of the different database platforms.
can you please tell me the proper procedure to run the GUNmakefile to see if i am doing it correctly. and any other suggestions will be appreciated!
Posts: 10
i've tried a number of things and am getting closer to getting the script to run correctly, but not totally there yet.
the GNUmakefile script is now running and creating the correct xml file in the schema/xml-src/tmp directory. it is also making an Tag.xml file in the xml-out directory but that file is empty and that is where the problem starts.
here's the output i get when running make:
Looks like the script is expecting there to be something in the xml-out/Tag.xml file, could this be a permissions problem? i'm using ubuntu and have to run scripts with sudo to get it to run as root. i tried to change the permissions for the GalleryStorage and interfaces directories to 777 (recursively).
I've attatched my class file. At the moment i'm jsut trying to get the sql created so there are just testing fields in the class.
Any assitance will be much appreciated!
Posts: 8601
(from chat in IRC.. I suggested developing for G2.1)