I want to compile clamav to work on solaris 7 sparc platform. I am currently using solaris 10 for compiling it. Can anyone guide me through the proper steps to make this mission successful?

asked 14 Sep '12, 18:14

Samurai%20Boy's gravatar image

Samurai Boy
accept rate: 0%

edited 14 Sep '12, 18:37

automaciej's gravatar image

automaciej ♦♦

Bad news for Solaris 7. OpenCSW catalogs only support Solaris versions from 8 onwards. Your 14-year-old platform, if you really want to build on it, will require building everything from scratch, including dependencies (libbz2, iconv, libtool, ncurses, libz). Current version of clamav might require modern versions of its dependencies, so you'll have to build them too. You might run into issues where an old compiler will not be able to handle new style C code, or the Solaris 7 libc will not have the required functionality.

The overall outline of steps are like with any other compilation:

  • Get a C compiler
  • Get the software sources
  • Run ./configure
  • Fix errors (potentially by building dependencies)
  • Rinse, repeat
permanent link
This answer is marked "community wiki".

answered 14 Sep '12, 18:34

automaciej's gravatar image

automaciej ♦♦
accept rate: 55%

Thanks for your info. Is it possible for me to compile clamav on solaris 10 32-bit non-sparc platform and use the compiled package in solaris 8 sparc platform? If yes, does it require any configuration changes?

permanent link

answered 24 Sep '12, 21:19

Samurai%20Boy's gravatar image

Samurai Boy
accept rate: 0%

Compile on 5.10 and run on 5.8 ? not possible. You could do it the other way around, build on older and run on newer. But if you want to run on 5.8 you need to build on 5.8.

(11 Nov '12, 22:14) automaciej ♦♦
permanent link

answered 16 Dec '16, 00:47

sahaeta9's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Sep '12, 18:14

question was seen: 16,209 times

last updated: 16 Dec '16, 00:47

powered by OSQA