help with compiling package from /pkgsrc/graphics/pstoedit (mipsel, cobalt)

help with compiling package from /pkgsrc/graphics/pstoedit (mipsel, cobalt)

Post by Frank Matt » Sat, 18 Jan 2003 02:50:07



Dear netBSD user,

I'm running netBSD on a cobalt server. I tried to compile the package
"pstoedit",
but get strait the following error:

dynload.cpp:83: #error "system unsupported so far"
dynload.cpp:159: parse error
dynload.cpp:372: #error "system unsupported so far"
*** Error code 1

Stop.
make: stopped in /home/users/frank/tmp/pstoedit-3.33/src
*** Error code 1

Stop.
make: stopped in /home/users/frank/tmp/pstoedit-3.33

I guess, config.sub does not know the cobalt, but I'm wondering if
there is a way to get pstoedit compiled

Many thanks

Frank

 
 
 

help with compiling package from /pkgsrc/graphics/pstoedit (mipsel, cobalt)

Post by Klaus Hein » Sat, 18 Jan 2003 09:34:29



> dynload.cpp:83: #error "system unsupported so far"
> dynload.cpp:159: parse error
> dynload.cpp:372: #error "system unsupported so far"
> *** Error code 1
> I guess, config.sub does not know the cobalt, but I'm wondering if
> there is a way to get pstoedit compiled

From looking at dynload.cpp I conclude the test

  #if defined(__sparc) || defined(__linux) || defined(__linux__) ||
  defined(__FreeBSD__) || defined(_WIN32) || defined(__OS2__)
  #define HAVESHAREDLIBS
  #endif

was somehow successfully evaluated and consequently the build process
processed the section enclosed by

  #ifdef HAVESHAREDLIBS
  ...
  #error ...
  ...
  #else
  ...
  #endif

On NetBSD/i386 1.5.x the else clause is used while on your cobalt
machine the if-clause was used. I don't have a clue _why_ this happened.
Neither of the macros above (__sparc, __linux, etc.) should be defined
by the preprocessor on your machine.

ciao
     Klaus

 
 
 

1. How to make my own individual changes for pkgsrc packages (in particular sendmail)?

Hi there,

I want to compile/install sendmail from pkgsrc, but with my own
devtools/Site/site.config.m4 file. How can I insert my additional
configurations without losing the possibilities from pkgsrc (updates
etc.) or compile the stuff manually?
What is the recommended way to do this?

Thx in advance for any help

Michael

2. can i make 2-node cluster out of ultra 1s?

3. Problem x-compile for MIPSEL

4. strstream problem with g++ 2.7.2.3 on Linux

5. Compiling source on a Cobalt Qube2 - Urgent help

6. Telnet problems

7. Can't compile ssh-1.2.27 from pkgsrc

8. martian addresses

9. DOSEMU compiling....I've never compiled a new package before!

10. Help compiling Debian packages for Slackware

11. Help -> InterViews Package: Compiling on linux box???

12. HELP compiling graphic apps!!!

13. Need help compiling SESAME package (uses InterViews)