File: Solaris.README

package info (click to toggle)
ratproxy 1.58%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 520 kB
  • ctags: 301
  • sloc: ansic: 2,829; sh: 244; makefile: 71
file content (21 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Solaris is not officially supported, as I have no usable test system; one of 
ratproxy users contributed the following workaround that may work, however:

-- snip! --

Changes needed to Makefile to compile on Solaris10.

23,24c23,25
< CFLAGS         = -Wall -O3 -Wno-pointer-sign -D_GNU_SOURCE
< LDFLAGS  = -lcrypto -lssl
---
> #CFLAGS        = -Wall -O3 -Wno-pointer-sign -D_GNU_SOURCE
> CFLAGS         = -Wall -O3  -D_GNU_SOURCE
> LDFLAGS  = -lcrypto -lssl -lsocket -lnsl

You will need GCC.
You must also have openssl built and resolvable via 
ENV variable LD_LIBRARY_PATH 
To compile type in "make CC=gcc"

-- snip! --