[newbie] compile question

2000-08-30 Thread bascule

i just downloaded a gimp plugin that consisted of a readme file and one
file called ps.c i figure this is source code that needs to be compiled
but the usual ./configure etc doesn't seem to apply here, what do i do
with this any ideas, i think the result should be just one executable
that i then place in the appropriate directory

bascule




Re: [newbie] compile question

2000-08-30 Thread Andrew Scotchmer

On Wed, 30 Aug 2000, you wrote:
 i just downloaded a gimp plugin that consisted of a readme file and one
 file called ps.c i figure this is source code that needs to be compiled
 but the usual ./configure etc doesn't seem to apply here, what do i do
 with this any ideas, i think the result should be just one executable
 that i then place in the appropriate directory
 
 bascule

To compile a .c file you must use gcc.

Type gcc -o ps ps.c

The middle ps will then be the name of the executable. This can be changed to
anthing you like.

Andrew




Re: [newbie] compile question

2000-08-30 Thread bascule

hi andrew,
ran gcc -o ps ps.c as you suggested and received the following:

in file included from /usr/include/gdk/gdktypes.h:33,
 from /usr/include/gdk/gdk.h:31
 from /usr/include/gtk/gtk.h:31
 from ps.c:53:
/usr/include/glib.h:56 globconf.h: No such file or directory
ps.c:54 libgimp/gimp.h: No such file or directory

however there is a file named ps that has been created, is the above
indication of some sort of error in the compilation or just info?

bascule