Xchm compile help
I am having trouble compiling 'chmlib', ./configure doesn't return errors but a make returns many errors, including: src/chm_lib.c:174:2: #error "Please define the sized types for your platform in chm_lib.c" src/chm_lib.c:229: error: parse error before "Int16" src/chm_lib.c: In function `_unmarshal_int16': src/chm_lib.c:231: error: `pLenRemain' undeclared (first use in this function) ... I have seen a "compile with -m32" for 32 bit apps mentioned before, but I'm not sure how to fit this into any of my configure or make instructions.... I would also like to know how I can install a 32bit version of Firefox (to run flash plugin)... thanks for any help, Wayne
Wayne Brennan <wjbrennan@tpg.com.au> writes:
I am having trouble compiling 'chmlib', ./configure doesn't return errors but a make returns many errors, including:
src/chm_lib.c:174:2: #error "Please define the sized types for your platform in chm_lib.c" src/chm_lib.c:229: error: parse error before "Int16" src/chm_lib.c: In function `_unmarshal_int16': src/chm_lib.c:231: error: `pLenRemain' undeclared (first use in this function) ...
That means that Xchm has hardware specific support and you need to edit the file. Looks like an totally unportable program.
I have seen a "compile with -m32" for 32 bit apps mentioned before, but
You want: CC="gcc -m32" ./configure
I'm not sure how to fit this into any of my configure or make instructions.... I would also like to know how I can install a 32bit version of Firefox (to run flash plugin)...
Just go into YaST Software installer, delete Firefox and then reinstall but go to versions and switch to the 32-bit version. Or download a version from ftp.suse.com/pub/projects/mozilla/... and just run "rpm -Uhv ...rpm" Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Thanks Andreas, I believe I have the i586 firefox running (only because I get flash happening on web sites) however the About menu still shows the version as x86-64...not sure whats happening there. I'm progressing slowly with the gcc -m32 config...now I get the error: C compiler cannot create executables cheers, Wayne Andreas Jaeger wrote:
Wayne Brennan <wjbrennan@tpg.com.au> writes:
I am having trouble compiling 'chmlib', ./configure doesn't return errors but a make returns many errors, including:
src/chm_lib.c:174:2: #error "Please define the sized types for your platform in chm_lib.c" src/chm_lib.c:229: error: parse error before "Int16" src/chm_lib.c: In function `_unmarshal_int16': src/chm_lib.c:231: error: `pLenRemain' undeclared (first use in this function) ...
That means that Xchm has hardware specific support and you need to edit the file. Looks like an totally unportable program.
I have seen a "compile with -m32" for 32 bit apps mentioned before, but
You want: CC="gcc -m32" ./configure
I'm not sure how to fit this into any of my configure or make instructions.... I would also like to know how I can install a 32bit version of Firefox (to run flash plugin)...
Just go into YaST Software installer, delete Firefox and then reinstall but go to versions and switch to the 32-bit version. Or download a version from ftp.suse.com/pub/projects/mozilla/... and just run "rpm -Uhv ...rpm"
Andreas
Wayne Brennan <wjbrennan@tpg.com.au> writes:
Thanks Andreas, I believe I have the i586 firefox running (only because I get flash happening on web sites) however the About menu still shows the version as x86-64...not sure whats happening there.
It checks the architecture.
I'm progressing slowly with the gcc -m32 config...now I get the error:
C compiler cannot create executables
There's a config.log that you should look into, Andreas
cheers, Wayne
Andreas Jaeger wrote:
Wayne Brennan <wjbrennan@tpg.com.au> writes:
I am having trouble compiling 'chmlib', ./configure doesn't return errors but a make returns many errors, including:
src/chm_lib.c:174:2: #error "Please define the sized types for your platform in chm_lib.c" src/chm_lib.c:229: error: parse error before "Int16" src/chm_lib.c: In function `_unmarshal_int16': src/chm_lib.c:231: error: `pLenRemain' undeclared (first use in this function) ...
That means that Xchm has hardware specific support and you need to edit the file. Looks like an totally unportable program.
I have seen a "compile with -m32" for 32 bit apps mentioned before, but
You want: CC="gcc -m32" ./configure
I'm not sure how to fit this into any of my configure or make instructions.... I would also like to know how I can install a 32bit version of Firefox (to run flash plugin)...
Just go into YaST Software installer, delete Firefox and then reinstall but go to versions and switch to the 32-bit version. Or download a version from ftp.suse.com/pub/projects/mozilla/... and just run "rpm -Uhv ...rpm"
Andreas
Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (2)
-
Andreas Jaeger
-
Wayne Brennan