Debian Codegraph @

README.solaris

raw
1 We have been alerted to some differences in how different Perl releases
2 build modules under Solaris depending if one uses the Sun distribution
3 or builds it from source using GNU gcc.
4
5 For this reason we've created some instructions that seem to work for
6 both cases, if you experience any problems please email us and let us
7 know the source of your perl distribution.
8
9 Installation of the Algorithm::SVM module is then as follows:
10
11 perl Makefile.PL.solaris
12
13 You will then need to edit the resulting Makefile, search for the
14 word 'static' and find the sections titled "MakeMaker static section"
15 and "MakeMaker static_lib section."
16
17 Comment out the lines which under each of these sections should look
18 something like:
19 # --- MakeMaker static section:
20
21 ## $(INST_PM) has been moved to the all: target.
22 ## It remains here for awhile to allow for old usage: "make static"
23 #static :: Makefile $(INST_STATIC) $(INST_PM)
24 static :: Makefile $(INST_STATIC)
25 @$(NOOP)
26
27 # --- MakeMaker static_lib section:
28
29 $(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)/.exists
30 $(RM_RF) $@
31 $(FULL_AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@
32 $(CHMOD) $(PERM_RWX) $@
33 @echo "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
34
35 Then continue with:
36 make
37 make test
38 make install