LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-14-2005, 12:20 AM   #1
drewblay
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
Skencil build errors


Hello, I am kind of new to linux so please be detialed in your replies. I am running Slackware 10.1 and trying to install Skencil but am having some difficulty. I have installed python and the Python Imaging Library so I ran "python setup.py configure" and everything looked fine but when I tried to run "python setup.py build" I got lots of errors and warnings. I am not sure how to fix this and would really apprecaite any help.
Here is the ouput I get when running "python setup.py build":

bash-3.00# python setup.py build
running 'make' in Pax
make: Nothing to be done for `default'.
running 'make' in Filter
make: Nothing to be done for `default'.
running 'make' in Sketch/Modules
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.4 -I/usr/local/include/python2.4 -I../../Pax -I/usr/include/python2.4 -I/usr/include/ -I/usr/include/ -I/usr/X11R6/include -c ././skimage.c -o ./skimage.o
In file included from /usr/local/include/python2.4/Python.h:8,
from skimage.c:21:
/usr/local/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from skimage.c:20:
/usr/include/features.h:190:1: warning: this is the location of the previous definition
In file included from skimage.c:27:
/usr/include/python2.4/Imaging.h:21:24: ImPlatform.h: No such file or directory
In file included from skimage.c:27:
/usr/include/python2.4/Imaging.h:85: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:85: warning: no semicolon at end of struct or union
/usr/include/python2.4/Imaging.h:86: warning: type defaults to `int' in declaration of `image32'
/usr/include/python2.4/Imaging.h:86: warning: data definition has no type or storage class
/usr/include/python2.4/Imaging.h:98: error: parse error before '}' token
/usr/include/python2.4/Imaging.h:131: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:131: warning: no semicolon at end of struct or union
/usr/include/python2.4/Imaging.h:133: warning: type defaults to `int' in declaration of `cache'
/usr/include/python2.4/Imaging.h:133: warning: data definition has no type or storage class
/usr/include/python2.4/Imaging.h:136: error: parse error before '}' token
/usr/include/python2.4/Imaging.h:227: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:227: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:354: error: parse error before "ImagingCRC32"
/usr/include/python2.4/Imaging.h:354: error: parse error before "crc"
/usr/include/python2.4/Imaging.h:354: warning: type defaults to `int' in declaration of `ImagingCRC32'
/usr/include/python2.4/Imaging.h:354: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:354: warning: data definition has no type or storage class
/usr/include/python2.4/Imaging.h:359: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:359: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:362: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:362: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:364: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:364: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:366: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:366: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:368: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:368: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:370: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:370: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:372: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:372: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:380: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:380: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:386: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:386: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:388: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:388: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:390: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:390: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:392: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:392: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:394: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:394: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:396: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:396: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:398: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:398: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:400: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:400: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:402: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:402: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:404: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:404: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:406: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:406: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:414: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:414: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:417: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:417: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:418: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:418: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:419: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:419: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:420: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:420: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:421: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:421: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:422: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:422: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:423: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:423: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:425: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:425: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:426: error: parse error before '*' token
/usr/include/python2.4/Imaging.h:426: warning: function declaration isn't a prototype
/usr/include/python2.4/Imaging.h:442: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:442: warning: no semicolon at end of struct or union
/usr/include/python2.4/Imaging.h:444: error: parse error before '}' token
skimage.c: In function `image_scale_rgb_16':
skimage.c:58: error: `INT32' undeclared (first use in this function)
skimage.c:58: error: (Each undeclared identifier is reported only once
skimage.c:58: error: for each function it appears in.)
skimage.c:58: error: `src' undeclared (first use in this function)
skimage.c:69: error: dereferencing pointer to incomplete type
skimage.c: In function `image_scale_rgb_24':
skimage.c:99: error: `INT32' undeclared (first use in this function)
skimage.c:99: error: `src' undeclared (first use in this function)
skimage.c:118: error: dereferencing pointer to incomplete type
skimage.c: In function `image_scale_rgb_8':
skimage.c:143: error: `INT32' undeclared (first use in this function)
skimage.c:143: error: `src' undeclared (first use in this function)
skimage.c:161: error: dereferencing pointer to incomplete type
skimage.c: In function `image_scale_gray_16':
skimage.c:188: error: `UINT8' undeclared (first use in this function)
skimage.c:188: error: `src' undeclared (first use in this function)
skimage.c:198: error: dereferencing pointer to incomplete type
skimage.c: In function `image_scale_gray_24':
skimage.c:226: error: `UINT8' undeclared (first use in this function)
skimage.c:226: error: `src' undeclared (first use in this function)
skimage.c:244: error: dereferencing pointer to incomplete type
skimage.c: In function `image_scale_gray_8':
skimage.c:267: error: `UINT8' undeclared (first use in this function)
skimage.c:267: error: `src' undeclared (first use in this function)
skimage.c:284: error: dereferencing pointer to incomplete type
skimage.c: In function `scale_image':
skimage.c:314: error: dereferencing pointer to incomplete type
skimage.c:346: error: dereferencing pointer to incomplete type
skimage.c:350: error: dereferencing pointer to incomplete type
skimage.c:354: error: dereferencing pointer to incomplete type
skimage.c:358: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:360: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c:385: error: dereferencing pointer to incomplete type
skimage.c: In function `image_trafo_rgb_16':
skimage.c:447: error: `INT32' undeclared (first use in this function)
skimage.c:447: error: `src' undeclared (first use in this function)
skimage.c:447: error: dereferencing pointer to incomplete type
skimage.c: In function `image_trafo_rgb_24':
skimage.c:480: error: `INT32' undeclared (first use in this function)
skimage.c:480: error: `src' undeclared (first use in this function)
skimage.c:480: error: dereferencing pointer to incomplete type
skimage.c: In function `image_trafo_rgb_8':
skimage.c:522: error: `INT32' undeclared (first use in this function)
skimage.c:522: error: `src' undeclared (first use in this function)
skimage.c:522: error: dereferencing pointer to incomplete type
skimage.c: In function `image_trafo_gray_16':
skimage.c:571: error: `UINT8' undeclared (first use in this function)
skimage.c:571: error: `src' undeclared (first use in this function)
skimage.c:571: error: dereferencing pointer to incomplete type
skimage.c: In function `image_trafo_gray_24':
skimage.c:602: error: `UINT8' undeclared (first use in this function)
skimage.c:602: error: `src' undeclared (first use in this function)
skimage.c:602: error: dereferencing pointer to incomplete type
skimage.c: In function `image_trafo_gray_8':
skimage.c:641: error: `UINT8' undeclared (first use in this function)
skimage.c:641: error: `src' undeclared (first use in this function)
skimage.c:641: error: dereferencing pointer to incomplete type
skimage.c: In function `transform_image':
skimage.c:796: error: dereferencing pointer to incomplete type
skimage.c:832: error: dereferencing pointer to incomplete type
skimage.c:832: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:835: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c:857: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_rgb_xy':
skimage.c:929: error: dereferencing pointer to incomplete type
skimage.c:930: error: dereferencing pointer to incomplete type
skimage.c:933: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_rgb_z':
skimage.c:978: error: dereferencing pointer to incomplete type
skimage.c:979: error: dereferencing pointer to incomplete type
skimage.c:982: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_hsv_xy':
skimage.c:1052: error: dereferencing pointer to incomplete type
skimage.c:1053: error: dereferencing pointer to incomplete type
skimage.c:1056: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_hsv_z':
skimage.c:1090: error: dereferencing pointer to incomplete type
skimage.c:1091: error: dereferencing pointer to incomplete type
skimage.c:1094: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_transformed_tile_gray':
skimage.c:1117: error: `UINT8' undeclared (first use in this function)
skimage.c:1117: error: `dest' undeclared (first use in this function)
skimage.c:1117: error: `src' undeclared (first use in this function)
skimage.c:1117: warning: left-hand operand of comma expression has no effect
skimage.c:1119: error: dereferencing pointer to incomplete type
skimage.c:1120: error: dereferencing pointer to incomplete type
skimage.c:1121: error: dereferencing pointer to incomplete type
skimage.c:1122: error: dereferencing pointer to incomplete type
skimage.c:1123: error: dereferencing pointer to incomplete type
skimage.c:1127: error: parse error before ')' token
skimage.c:1127: error: dereferencing pointer to incomplete type
skimage.c:1130: warning: left-hand operand of comma expression has no effect
skimage.c: In function `fill_transformed_tile_rgb':
skimage.c:1150: error: `INT32' undeclared (first use in this function)
skimage.c:1150: error: `dest' undeclared (first use in this function)
skimage.c:1150: error: `src' undeclared (first use in this function)
skimage.c:1150: warning: left-hand operand of comma expression has no effect
skimage.c:1152: error: dereferencing pointer to incomplete type
skimage.c:1153: error: dereferencing pointer to incomplete type
skimage.c:1154: error: dereferencing pointer to incomplete type
skimage.c:1155: error: dereferencing pointer to incomplete type
skimage.c:1156: error: dereferencing pointer to incomplete type
skimage.c:1160: error: dereferencing pointer to incomplete type
skimage.c:1163: warning: left-hand operand of comma expression has no effect
skimage.c: In function `fill_transformed_tile':
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1188: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1192: error: dereferencing pointer to incomplete type
skimage.c:1199: error: dereferencing pointer to incomplete type
skimage.c: In function `horizontal_axial_gradient':
skimage.c:1329: error: dereferencing pointer to incomplete type
skimage.c:1330: error: dereferencing pointer to incomplete type
skimage.c:1332: error: dereferencing pointer to incomplete type
skimage.c:1340: error: dereferencing pointer to incomplete type
skimage.c:1340: error: dereferencing pointer to incomplete type
skimage.c:1341: error: dereferencing pointer to incomplete type
skimage.c: In function `vertical_axial_gradient':
skimage.c:1349: error: `INT32' undeclared (first use in this function)
skimage.c:1349: error: `dest' undeclared (first use in this function)
skimage.c:1353: error: dereferencing pointer to incomplete type
skimage.c:1354: error: dereferencing pointer to incomplete type
skimage.c:1357: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_axial_gradient':
skimage.c:1422: error: dereferencing pointer to incomplete type
skimage.c:1423: error: dereferencing pointer to incomplete type
skimage.c:1426: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_radial_gradient':
skimage.c:1537: error: dereferencing pointer to incomplete type
skimage.c:1538: error: dereferencing pointer to incomplete type
skimage.c:1541: error: dereferencing pointer to incomplete type
skimage.c: In function `fill_conical_gradient':
skimage.c:1588: error: dereferencing pointer to incomplete type
skimage.c:1589: error: dereferencing pointer to incomplete type
skimage.c:1592: error: dereferencing pointer to incomplete type
skimage.c: In function `skimage_write_ps_hex':
skimage.c:1707: error: dereferencing pointer to incomplete type
skimage.c:1708: error: dereferencing pointer to incomplete type
skimage.c:1709: error: dereferencing pointer to incomplete type
skimage.c:1709: error: dereferencing pointer to incomplete type
skimage.c:1711: error: dereferencing pointer to incomplete type
skimage.c:1712: error: dereferencing pointer to incomplete type
skimage.c:1713: error: dereferencing pointer to incomplete type
skimage.c:1713: error: dereferencing pointer to incomplete type
make: *** [skimage.o] Error 1
exiting because of errors
 
Old 04-14-2005, 05:10 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Re: Skencil build errors

Quote:
Originally posted by drewblay
Hello, I am kind of new to linux so please be detialed in your replies. I am running Slackware 10.1 and trying to install Skencil but am having some difficulty. I have installed python and the Python Imaging Library so I ran "python setup.py configure" and everything looked fine but when I tried to run "python setup.py build" I got lots of errors and warnings. I am not sure how to fix this and would really apprecaite any help.
Here is the ouput I get when running "python setup.py build":

bash-3.00# python setup.py build
running 'make' in Pax
make: Nothing to be done for `default'.
running 'make' in Filter
make: Nothing to be done for `default'.
running 'make' in Sketch/Modules
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.4 -I/usr/local/include/python2.4 -I../../Pax -I/usr/include/python2.4 -I/usr/include/ -I/usr/include/ -I/usr/X11R6/include -c ././skimage.c -o ./skimage.o
In file included from /usr/local/include/python2.4/Python.h:8,
from skimage.c:21:
/usr/local/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from skimage.c:20:
/usr/include/features.h:190:1: warning: this is the location of the previous definition
In file included from skimage.c:27:
/usr/include/python2.4/Imaging.h:21:24: ImPlatform.h: No such file or directory
In file included from skimage.c:27:
/usr/include/python2.4/Imaging.h:85: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:85: warning: no semicolon at end of struct or union
/usr/include/python2.4/Imaging.h:86: warning: type defaults to `int' in declaration of `image32'
you are missing this include file, you will have to install whatever package has it to finish compiling ( the other possiblity is you have the include, but it is in a non-standard place where the compiler cannot find it. to find out do the following ( in a console):

updatedb ( will take a few min)
slocate ImPlatform.h

if it repeats it back to you ( along with a location) you will have to tell the compiler where it is ( set your CLFAGS environmental variable to include it ( and example of this is "export CFLAGS="-I/home/joe/myincludes" - this sets that directory to be searched for include files)

Last edited by __J; 04-14-2005 at 05:13 AM.
 
Old 04-15-2005, 01:10 AM   #3
drewblay
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora Core 5
Posts: 12

Original Poster
Rep: Reputation: 0
__J, thanks for you help, I tried the "export CFLAGS..." and when I went to build I got the same error so I just copied the ImPlatform.h to the /usr/include/python2.4 directory. That might not be the smartest solution....but it worked.
 
Old 04-15-2005, 05:32 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
as long as it worked

forgot to mention, you can pass this to configure and make too:

./configure --prefix=/usr CFLAGS="-I/<path to includes>"

or

make CFLAGS="-I/<path to includes>"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wxpython build errors bmfan Linux - Software 1 11-21-2005 07:01 AM
Superkaramba 0.34 build errors Kramer Linux - Software 6 09-11-2004 12:28 AM
problems installing skencil neri Linux - Software 0 05-29-2004 11:28 AM
Build Errors. sethgeekx86 Slackware 3 04-01-2004 06:47 PM
Crazy @$$ build errors Twiggy794 Red Hat 1 09-26-2003 03:35 PM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration