Build Tips for Various Distributions..


Note: Under FC3 you will need the gnome-libs-devel package (ie. gnome-libs-devel-1.4.1.2.90-44.i386.rpm) installed to provide various header files. Other distributions may have different package names for the gnome development files.

If you get error messages as below, the following may help. config.status: error: cannot find input file: intl/Makefile.in
make[2]: *** No rule to make target '/config.status', needed by 'Makefile'. Stop.
/bin/sh: line 1: CCASFLAGS@: command not found

For RedHat 7.3 and up...


The following steps should help with problems building under redhat 7.3 and redhat 8.0 (actually any distro using gettext version 0.11.x. You can find out your version of gettext by entering the command "rpm -qa | grep gettext"


as a normal user...
Step 1 download the latest version of gspy from gspy.sourceforge.net

Step 2 tar -xzvf gspy-0.1.7-src.tar.gz

Step 3 Red Hat 7.3 users skip this step 3
gedit gspy/configure.in
add the line AM_PROG_AS after the line AM_PROG_CC_STDC
this macro sets up the flags for building the assembler file (needed on RH 8.0)

Step 4 gedit gspy/macros/autogen.sh
change 2 occurances of >>gettextize --force --copy<< to
>>gettextize --force --copy --intl<<
These edits are on lines 128 and 137
( the --intl option is required for gettext version > gettext-0.11.xx )

Step 5 cd gspy

Step 6 ./autogen.sh
press return to acknowledge 5 paragraphs mentioned

Step 7 mv po/Makevars.template po/Makevars

Step 8 ./autogen.sh
press return to acknowledge 2 paragraphs mentioned

Step 9 make
everything should compile without errors (ignore warnings)

Step 10 su
xxxxxx (enter password for root)

Step 11 make install

Step 12 exit

Step 13 gspy

Hopefully everything should pop up running with an informational message that the program is running on default settings.

For Slackware 9.1...

Brian reports he used a similar sequence to get things built under Slackware 9.1.

Step 1 download the latest version of gspy from gspy.sourceforge.net
Step 2 tar -xzvf gspy-0.1.7-src.tar.gz
Step 3 gedit gspy/configure.in
       add the line AM_PROG_AS after the line AM_PROG_CC_STDC
       this macro sets up the flags for building the assembler file
Step 4 gedit gspy/macros/autogen.sh
       change 2 occurances of 
       >>gettextize --force --copy<< to >>gettextize --force --copy --intl<<
       These edits are on lines 128 and 137( the --intl option is required for gettext 
       version > gettext-0.11.xx )
Step 5 cd gspy
Step 6 ./autogen.sh
       make
       make install

Build Tips under Slackware 10.1 - Thanks Sebastien

If all else fails...

I have found that sometimes stripping the project down to the bones and letting glade regenerate the build files will make the project compile. If you mess up the steps below, you can always re-expand the .gz file to try something again. To strip the project down, in the main gspy directory, delete all the files EXCEPT:

then delete src/Makefile, src/Makefile.in.
Run glade (not glade-2) and open the gspy.glade project.
Click on save and build buttons.
Close glade and edit the src/Makefile.am file to add a couple of new files to the source and library lists. Add Now you should be able to rerun the autogen.sh script, make and make install successfully. Good luck, may the source be with you.

to home page
To Gspy Homepage