Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

configuration repo pkgsrc on solaris 11.4

3296661Mar 11 2019

Hello everyone,

I would like to configure the netbsd pkgsrc repository on solaris 11.4 in order to have updated software. I know we can look sfe.opencsw.org but maintenance seems to be difficult. I tried to compile my favorite software but missing some dependence or library.

I looking for other option:

I followed the tutorial on the wiki
https://wiki.netbsd.org/pkgsrc/how_to_use_pkgsrc_on_solaris/

The following packages are well installed
    SUNWarc Lint Libraries (usr)
    SUNWbtool CCS bundled with SunOS (Solaris 9)
    SUNWbzip The bzip compression utility
    SUNWdoc Documentation Tools
    SUNWhea SunOS Header Files
    SUNWlibm Math & Microtasking Headers & Lint Files (Usr)
    SUNWlibmr Library Library Lint Files (Root) (Solaris 10)
    SUNWman On-Line Manual Pages
    SUNWscpr Source Compatibility, (Root)
    SUNWscpu Source Compatibility, (Usr)
    SUNWsprot Solaris Bundled tools
    SUNWtoo SUNWtoo Programming Tools
    SUNWxcu4 XCU4 Utilities

All the steps will run correctly. I change the path because /usr/local don't exist on 11.4   env CFLAGS=-O2 CC=/usr/local/gcc4/bin/gcc ./bootstrap
change for:                                                                                                                       env CFLAGS=-O2 CC =/usr/gcc/7/bin/gcc ./bootstrap

send me an error message:
===> bootstrap command: ./bootstrap
===> bootstrap started: Monday, March 11, 2019 at 1:47:20 PM EDT
Working directory is: / usr / pkgsrc / bootstrap / work
===> running: / usr / bin / sed -e's | @ DEFAULT_INSTALL_MODE @ | '0755' | ' /usr/pkgsrc/sysutils/install-sh/files/install-sh.in> / usr / pkgsrc / bootstrap / work / bin / install-sh
Can not open /usr/pkgsrc/sysutils/install-sh/files/install-sh.in
===> exited with status 1
aborted.

I look the permissions on the folder usr/pkgsrc and change (root)  for full access but same missing error message
gcc-7 is well installed

Is anyone have a success to configure pkgsrc on solaris 11.4 your help would be appreciated

best regard at all

Comments

Processing

Post Details

Added on Mar 11 2019
1 comment
451 views