Re: [HPLIP-Devel] HPLIP 1.7.3 build problem

2007-03-28 Thread François Manchon
 Installing on Red Hat 9 is complicated, although not impossible.
 Please refer to:
 http://hplip.sourceforge.net/install/manual/distros/redhat.html
 for assistance.

Thanks for the hint.  I double checked the instructions and I think I meet 
all the requirements.  I have more recent versions of the packages, in 
particular cups-devel-1.1.17-13.  I also have hplip 0.9.11 up and running. 
No build problem with this version.

So I looked into the source code, and the fact is that the structure 
ppd_group_str has no member name 'name'.  Instead it has this (in 
/usr/include/cups/ppd.h):

  char  text[PPD_MAX_TEXT];   /* 
Human-readable group name */

I replaced name with text in the lines reported by gcc, and everything 
worked smoothly :-)

Sincerely,

François



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel


Re: [HPLIP-Devel] HPLIP 1.7.3 build problem

2007-03-27 Thread Aaron

Installing on Red Hat 9 is complicated, although not impossible.

Please refer to:

http://hplip.sourceforge.net/install/manual/distros/redhat.html

for assistance.

A

On 3/26/07, François Manchon [EMAIL PROTECTED] wrote:


Hello,

Trying to build HPLIP 1.7.3 on RedHat 9.
Any hint ?

François

./configure --prefix=/usr/local --disable-network-build
make
[...everything fine until...]
running build
running build_ext
building 'cupsext' extension
creating build
creating build/temp.linux-i686-2.2
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC
-I/usr/include/python2.2
-c cupsext.c -o build/temp.linux-i686-2.2/cupsext.o
cupsext.c: In function `getGroupList':
cupsext.c:1390: structure has no member named `name'
cupsext.c: In function `getGroup':
cupsext.c:1415: structure has no member named `name'
cupsext.c: In function `getOptionList':
cupsext.c:1447: structure has no member named `name'
cupsext.c: In function `getOption':
cupsext.c:1489: structure has no member named `name'
cupsext.c: In function `getChoiceList':
cupsext.c:1529: structure has no member named `name'
cupsext.c: In function `getChoice':
cupsext.c:1577: structure has no member named `name'
error: command 'gcc' failed with exit status 1
make[1]: *** [build-cupsext] Error 1
make[1]: Leaving directory `/home/fmanchon/hplip-1.7.3'
make: *** [all-recursive] Error 1



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel





--
I don't care, I'm still free.  You can't take the sky from me. - Firefly
-
Ubuntu User: #11105
Ubuntu Linux http://ubuntulinux.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel


[HPLIP-Devel] HPLIP 1.7.3 build problem

2007-03-26 Thread François Manchon
Hello,

Trying to build HPLIP 1.7.3 on RedHat 9.
Any hint ?

François

./configure --prefix=/usr/local --disable-network-build
make
[...everything fine until...]
running build
running build_ext
building 'cupsext' extension
creating build
creating build/temp.linux-i686-2.2
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC 
-I/usr/include/python2.2 
 -c cupsext.c -o build/temp.linux-i686-2.2/cupsext.o
cupsext.c: In function `getGroupList':
cupsext.c:1390: structure has no member named `name'
cupsext.c: In function `getGroup':
cupsext.c:1415: structure has no member named `name'
cupsext.c: In function `getOptionList':
cupsext.c:1447: structure has no member named `name'
cupsext.c: In function `getOption':
cupsext.c:1489: structure has no member named `name'
cupsext.c: In function `getChoiceList':
cupsext.c:1529: structure has no member named `name'
cupsext.c: In function `getChoice':
cupsext.c:1577: structure has no member named `name'
error: command 'gcc' failed with exit status 1
make[1]: *** [build-cupsext] Error 1
make[1]: Leaving directory `/home/fmanchon/hplip-1.7.3'
make: *** [all-recursive] Error 1



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel