I'm working on porting Racket to IRIX. With a few minor patches, it compiles 
cleanly. However, it fails on `make install` with the following error:

racket/racketcgc -L debug -X "/usr/people/edodd/local/share/racket/collects" -G 
"/usr/people/edodd/local/etc/racket"    --no-user-path -N "raco" -l- setup 
--no-user
getenv: contract violation
  expected: string-environment-variable-name?
  given: #f
  context...:
   /usr/people/edodd/local/share/racket/collects/racket/private/misc.rkt:202:2: 
getenv
   /usr/people/edodd/local/share/racket/collects/openssl/mzssl.rkt:374:0: 
x509-root-sources

IRIX is missing `setenv` and `unsetenv`. I added those in with a patch as seen 
here: https://gist.github.com/unxmaal/bc996e78e9f422d6e277e0b4a0003cf5


With debug logging on, I see this:

compiler/cm: done: 
/usr/people/edodd/local/share/racket/collects/openssl/libcrypto.rkt
ffi-lib: loaded "libcrypto.so"
compiler/cm: processing: 
/usr/people/edodd/local/share/racket/collects/openssl/libssl.rkt
compiler/cm: done: 
/usr/people/edodd/local/share/racket/collects/openssl/libssl.rkt
ffi-lib: loaded "libssl.so"
getenv: contract violation
  expected: string-environment-variable-name?
  given: #f
  context...:
   /usr/people/edodd/local/share/racket/collects/racket/private/misc.rkt:202:2: 
getenv
   /usr/people/edodd/local/share/racket/collects/openssl/mzssl.rkt:374:0: 
x509-root-sources

In mzssl.rkt, x509-root-sources(), it seems to handle finding openssl. Mine is 
located in a non-standard location. How do I pass this location in properly?

Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/7fff94d1-1fb6-4738-a717-c0f967972bbe%40googlegroups.com.

Reply via email to