OK big problem with some software!!

OK, I was just about to install the GIMP’s normalmap plug-in which can be found here: normalmap | GIMP Plugin Registry

so run a ‘make’ on the makefile.linux in it’s directory, it says “nothing to be done.”

so I run ‘make install’ on the same directory and it goes though and ignores the gimp normal map plug-in, and tries to install annother application I had tried but failed to install earlier, ‘libdvdcss-1.2.9’

and I’m like wait…, this has nothing to do with lidvdcss, so why is it refusing to make the gimp plug-in and focusing on lidvdcss?

Ummmm…cause you screwed up.

Seriously, there is no other reason to explain what is happening. You are confused about what directory you are in when you issue the make command. Or, you have two sets of sources in the same directory. Either way, the process is unclean…

Start over.

Hi
You should create something like a build directory so you can unzip the
files to. Did you install the development files? It should go something
like;


1. sudo zypper in gtkglext-devel gimp-devel libGLEW1_5 glew-devel glew
2. bzip2 -cd gimp-normalmap-1.2.1.tar.bz2 | tar xvf -
3. cd gimp-normalmap-1.2.1
4. make
5. make install


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 1 day 11:13, 3 users, load average: 0.33, 0.18, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Malcolm schrieb:
> 2. bzip2 -cd gimp-normalmap-1.2.1.tar.bz2 | tar xvf -

Current versions of tar can uncompress bz2 all on their own
with the -j option, so this can be done more easily as:

tar -xvjf gimp-normalmap-1.2.1.tar.bz2

HTH
T.


Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

ah, well I can’t use ‘zypper’ as I’m on 10.0, and I preunzipped it to a folder of it’s own, I’ll try the; cd, then make, make install bit., OK that worked!!!

Ok allot of problems with the make output, looks like I’ll need the prerequisits after all, I thought I had gtk installed, I’ll check on that… here the output I got from make:

part 1;

cliff@(none):/usr/DATA/gimp-normalmap-1.2.1> make
gcc -c -O3 -Wall pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0 normalmap.c
/bin/sh: pkg-config: command not found
normalmap.c:26:21: error: gtk/gtk.h: No such file or directory
normalmap.c:28:26: error: libgimp/gimp.h: No such file or directory
normalmap.c:29:28: error: libgimp/gimpui.h: No such file or directory
In file included from normalmap.c:32:
preview3d.h:25: error: syntax error before ‘’ token
normalmap.c:66: error: syntax error before ‘gint’
normalmap.c:66: warning: no semicolon at end of struct or union
normalmap.c:67: warning: type defaults to ‘int’ in declaration of ‘minz’
normalmap.c:67: warning: data definition has no type or storage class
normalmap.c:68: error: syntax error before ‘scale’
normalmap.c:68: warning: type defaults to ‘int’ in declaration of ‘scale’
normalmap.c:68: warning: data definition has no type or storage class
normalmap.c:69: error: syntax error before ‘wrap’
normalmap.c:69: warning: type defaults to ‘int’ in declaration of ‘wrap’
normalmap.c:69: warning: data definition has no type or storage class
normalmap.c:70: error: syntax error before ‘height_source’
normalmap.c:70: warning: type defaults to ‘int’ in declaration of ‘height_source’
normalmap.c:70: warning: data definition has no type or storage class
normalmap.c:71: error: syntax error before ‘alpha’
normalmap.c:71: warning: type defaults to ‘int’ in declaration of ‘alpha’
normalmap.c:71: warning: data definition has no type or storage class
normalmap.c:72: error: syntax error before ‘conversion’
normalmap.c:72: warning: type defaults to ‘int’ in declaration of ‘conversion’
normalmap.c:72: warning: data definition has no type or storage class
normalmap.c:73: error: syntax error before ‘dudv’
normalmap.c:73: warning: type defaults to ‘int’ in declaration of ‘dudv’
normalmap.c:73: warning: data definition has no type or storage class
normalmap.c:74: error: syntax error before ‘xinvert’
normalmap.c:74: warning: type defaults to ‘int’ in declaration of ‘xinvert’
normalmap.c:74: warning: data definition has no type or storage class
normalmap.c:75: error: syntax error before ‘yinvert’
normalmap.c:75: warning: type defaults to ‘int’ in declaration of ‘yinvert’
normalmap.c:75: warning: data definition has no type or storage class
normalmap.c:76: error: syntax error before ‘swapRGB’
normalmap.c:76: warning: type defaults to ‘int’ in declaration of ‘swapRGB’
normalmap.c:76: warning: data definition has no type or storage class
normalmap.c:77: error: syntax error before ‘contrast’
normalmap.c:77: warning: type defaults to ‘int’ in declaration of ‘contrast’
normalmap.c:77: warning: data definition has no type or storage class
normalmap.c:78: error: syntax error before ‘alphamap_id’
normalmap.c:78: warning: type defaults to ‘int’ in declaration of ‘alphamap_id’
normalmap.c:78: warning: data definition has no type or storage class
normalmap.c:79: warning: type defaults to ‘int’ in declaration of ‘NormalmapVals’
normalmap.c:79: warning: data definition has no type or storage class
normalmap.c:82: warning: type defaults to ‘int’ in declaration of ‘gchar’
normalmap.c:82: error: syntax error before ‘
’ token
normalmap.c:85: error: syntax error before ‘normalmap’
normalmap.c:85: error: syntax error before ‘’ token
normalmap.c:85: warning: type defaults to ‘int’ in declaration of ‘normalmap’
normalmap.c:85: warning: data definition has no type or storage class
normalmap.c:87: error: syntax error before ‘normalmap_dialog’
normalmap.c:87: error: syntax error before ‘
’ token
normalmap.c:87: warning: type defaults to ‘int’ in declaration of ‘normalmap_dialog’
normalmap.c:87: warning: data definition has no type or storage class
normalmap.c:89: error: syntax error before ‘PLUG_IN_INFO’
normalmap.c:89: warning: type defaults to ‘int’ in declaration of ‘PLUG_IN_INFO’
normalmap.c:91: warning: excess elements in scalar initializer
normalmap.c:91: warning: (near initialization for ‘PLUG_IN_INFO’)
normalmap.c:91: warning: excess elements in scalar initializer
normalmap.c:91: warning: (near initialization for ‘PLUG_IN_INFO’)
normalmap.c:92: warning: excess elements in scalar initializer
normalmap.c:92: warning: (near initialization for ‘PLUG_IN_INFO’)
normalmap.c:92: warning: data definition has no type or storage class
normalmap.c:94: error: syntax error before ‘nmapvals’
normalmap.c:94: warning: type defaults to ‘int’ in declaration of ‘nmapvals’
normalmap.c:96: error: field name not in record or union initializer
normalmap.c:96: error: (near initialization for ‘nmapvals’)
normalmap.c:97: error: field name not in record or union initializer
normalmap.c:97: error: (near initialization for ‘nmapvals’)
normalmap.c:97: warning: excess elements in scalar initializer
normalmap.c:97: warning: (near initialization for ‘nmapvals’)
normalmap.c:98: error: field name not in record or union initializer
normalmap.c:98: error: (near initialization for ‘nmapvals’)
normalmap.c:98: warning: excess elements in scalar initializer
normalmap.c:98: warning: (near initialization for ‘nmapvals’)
normalmap.c:99: error: field name not in record or union initializer
normalmap.c:99: error: (near initialization for ‘nmapvals’)
normalmap.c:99: warning: excess elements in scalar initializer
normalmap.c:99: warning: (near initialization for ‘nmapvals’)
normalmap.c:100: error: field name not in record or union initializer
normalmap.c:100: error: (near initialization for ‘nmapvals’)
normalmap.c:100: warning: excess elements in scalar initializer
normalmap.c:100: warning: (near initialization for ‘nmapvals’)
normalmap.c:101: error: field name not in record or union initializer
normalmap.c:101: error: (near initialization for ‘nmapvals’)
normalmap.c:101: warning: excess elements in scalar initializer
normalmap.c:101: warning: (near initialization for ‘nmapvals’)
normalmap.c:102: error: field name not in record or union initializer
normalmap.c:102: error: (near initialization for ‘nmapvals’)
normalmap.c:102: warning: excess elements in scalar initializer
normalmap.c:102: warning: (near initialization for ‘nmapvals’)
normalmap.c:103: error: field name not in record or union initializer

continues below (we really need a .odt upload ability on the forums)

normalmap.c:103: error: (near initialization for ‘nmapvals’)
normalmap.c:103: warning: excess elements in scalar initializer
normalmap.c:103: warning: (near initialization for ‘nmapvals’)
normalmap.c:104: error: field name not in record or union initializer
normalmap.c:104: error: (near initialization for ‘nmapvals’)
normalmap.c:104: warning: excess elements in scalar initializer
normalmap.c:104: warning: (near initialization for ‘nmapvals’)
normalmap.c:105: error: field name not in record or union initializer
normalmap.c:105: error: (near initialization for ‘nmapvals’)
normalmap.c:105: warning: excess elements in scalar initializer
normalmap.c:105: warning: (near initialization for ‘nmapvals’)
normalmap.c:106: error: field name not in record or union initializer
normalmap.c:106: error: (near initialization for ‘nmapvals’)
normalmap.c:106: warning: excess elements in scalar initializer
normalmap.c:106: warning: (near initialization for ‘nmapvals’)
normalmap.c:107: error: field name not in record or union initializer
normalmap.c:107: error: (near initialization for ‘nmapvals’)
normalmap.c:107: warning: excess elements in scalar initializer
normalmap.c:107: warning: (near initialization for ‘nmapvals’)
normalmap.c:108: error: field name not in record or union initializer
normalmap.c:108: error: (near initialization for ‘nmapvals’)
normalmap.c:109: warning: excess elements in scalar initializer
normalmap.c:109: warning: (near initialization for ‘nmapvals’)
normalmap.c:109: warning: data definition has no type or storage class
normalmap.c:113: error: syntax error before ‘runme’
normalmap.c:113: warning: type defaults to ‘int’ in declaration of ‘runme’
normalmap.c:113: warning: data definition has no type or storage class
normalmap.c:115: error: syntax error before ‘’ token
normalmap.c:115: warning: type defaults to ‘int’ in declaration of ‘dialog’
normalmap.c:115: warning: data definition has no type or storage class
normalmap.c:116: error: syntax error before ‘
’ token
normalmap.c:116: warning: type defaults to ‘int’ in declaration of ‘preview’
normalmap.c:116: warning: data definition has no type or storage class
normalmap.c:120: warning: return type defaults to ‘int’
normalmap.c: In function ‘MAIN’:
normalmap.c:121: error: storage class specified for parameter ‘query’
normalmap.c:121: error: syntax error before ‘{’ token
normalmap.c:141: warning: type defaults to ‘int’ in declaration of ‘gint’
normalmap.c:141: error: storage class specified for parameter ‘gint’
normalmap.c:141: error: syntax error before ‘nargs’
normalmap.c:257: error: syntax error before ‘}’ token
normalmap.c:259: error: syntax error before ‘*’ token
normalmap.c:260: error: storage class specified for parameter ‘make_kernel’
normalmap.c:297: error: syntax error before ‘fx’
normalmap.c:338: error: redefinition of parameter ‘v’
normalmap.c:294: error: previous definition of ‘v’ was here
normalmap.c:341: error: syntax error before ‘s’
normalmap.c:469: error: parameter ‘num_elements’ is initialized
normalmap.c:470: error: syntax error before ‘kernel_element’
normalmap.c:699: error: parameter ‘usum’ is initialized
normalmap.c:699: error: parameter ‘vsum’ is initialized
normalmap.c:700: error: parameter ‘wt22’ is initialized
normalmap.c:701: error: parameter ‘wt12’ is initialized
normalmap.c:702: error: parameter ‘wt02’ is initialized
normalmap.c:703: error: parameter ‘wt11’ is initialized
normalmap.c:704: error: syntax error before ‘num_elements’
normalmap.c:776: error: conflicting types for ‘n’
normalmap.c:467: error: previous definition of ‘n’ was here
normalmap.c:777: error: parameter ‘usum’ is initialized
normalmap.c:777: error: redefinition of parameter ‘usum’
normalmap.c:699: error: previous definition of ‘usum’ was here
normalmap.c:777: error: parameter ‘vsum’ is initialized
normalmap.c:777: error: redefinition of parameter ‘vsum’
normalmap.c:699: error: previous definition of ‘vsum’ was here
normalmap.c:779: error: syntax error before ‘num_elements’
normalmap.c:814: error: redefinition of parameter ‘dv_weights’
normalmap.c:775: error: previous definition of ‘dv_weights’ was here
normalmap.c:815: error: redefinition of parameter ‘n’
normalmap.c:776: error: previous definition of ‘n’ was here
normalmap.c:816: error: parameter ‘usum’ is initialized
normalmap.c:816: error: redefinition of parameter ‘usum’
normalmap.c:777: error: previous definition of ‘usum’ was here
normalmap.c:816: error: parameter ‘vsum’ is initialized
normalmap.c:816: error: redefinition of parameter ‘vsum’
normalmap.c:777: error: previous definition of ‘vsum’ was here
normalmap.c:818: error: syntax error before ‘num_elements’
normalmap.c:1138: warning: type defaults to ‘int’ in declaration of ‘gint’
normalmap.c:1138: error: storage class specified for parameter ‘gint’
normalmap.c:1138: error: redefinition of parameter ‘gint’
normalmap.c:141: error: previous definition of ‘gint’ was here
normalmap.c:1138: error: syntax error before ‘idle_callback’
normalmap.c:1313: error: parameter ‘num_amaps’ is initialized
normalmap.c:1315: error: syntax error before ‘if’
make: *** [normalmap.o] Error 1

Hi
Yes, I think you need the files I listed :slight_smile: Then those errors should go
away.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 6:41, 3 users, load average: 0.05, 0.12, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12