- download/unpack source
- make sure gcc is installed via pkgin
- make sure
setdisplays CFLAGS=-D__SOLARIS__. If it doesn't runexport CFLAGS=-D__SOLARIS__. that way the gcc compiler gets that define which helps compiling (otherwise it will fail at the end due to differences in file management) LIBS="-ljpeg -lz" configureNOTE: This will make tiff files work, but i could not yet get pngs to work. configure is still complaining and adding-lpngdid not have any effect other than stopping the configure earlymakemake installto install
Last active
January 1, 2016 23:29
-
-
Save matthiasg/8216828 to your computer and use it in GitHub Desktop.
compile leptonica on smartos/solaris
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment