[pcre-dev] [Bug 1306] New: Solaris 9 issues

Page principale
Supprimer ce message
Auteur: Tim Hogard
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1306] New: Solaris 9 issues
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1306
           Summary: Solaris 9 issues
           Product: PCRE
           Version: 8.30
          Platform: Sun
        OS/Version: SunOS
            Status: NEW
          Severity: bug
          Priority: low
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: thogard@???
         QAContact: thogard@???
                CC: pcre-dev@???



Due to solaris 9 not having all the newest features a few problems are
happening:

$ make test
./RunTest: syntax error at line 139: `(' unexpected

The /bin/sh on Solaris 9 doesn't support the $(( syntax.
A solution is change that script to run ksh or bash and not sh.
A fix could be to get config to use bash, ksh or /usr/local/bin/sh if it exists
and can cope with the $(( syntax.


A second problem is that the manual page install is causing problem because of
existing links:

# make install
...
make  install-data-hook
ln -s pcre_assign_jit_stack.3          
/usr/local/share/man/man3/pcre16_assign_jit_stack.3
ln: cannot create /usr/local/share/man/man3/pcre16_assign_jit_stack.3: File
exists
*** Error code 2
make: Fatal error: Command failed for target `install-data-hook'


This is a result of "ln -s" trying to link to an existing file.
A solution is to remove the old links:
# rm -rf /usr/local/share/man/man3/pcre*

# make install

I think the proper solution would be for the makefile to remove the symbolic
link first however putting a - in font of the ln command in the Makefile would
also work.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email