pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Need some help for setting up a binary repo of pkgsrc packages (WAS: Re: modular-xorg-drivers fail to compile on Solaris SXCE b73)



On Thursday 01 November 2007 13:46:05 Gueven Bay wrote:
> You didn't understand : I want to compile packages ("bmake package")
> to put them on a online repo where others can get them for their
> private/professional use.
> And X11(+GNOME/KDE of course) is one of the things that "motivates"
> many people to have at least a look at it - the repo -. This is the
> idea behind the repo : To make pkgsrc more known.

I think what Joerg was trying to say is you don't need to build Xorg or 
XFree86 on Solaris in order to build Gnome/Kde or other X11 packages.

Solaris comes with its native X11 windowing system, which is 
under /usr/openwin. I think on i386/x86_64 Solaris uses Xorg and on SPARC it 
uses Xsun for its native Xserver.

When you use pkgsrc and have

X11_TYPE=modular

in your mk.conf, then pkgsrc will build Xorg modular X11 windowing system from 
scratch and any X11 applications you build will be linked to those libraries.

If you don't have X11_TYPE in your mk.conf, then pkgsrc will asume a native 
windowing system. On Solaris your X11 applications will be automatically 
linked to libraries under /usr/openwin/lib

Below xosview package was built on SPARC Solaris with a native X11

[root@ultra10] file xosview
xosview: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, 
UltraSPARC1 Extensions Required, dynamically linked, stripped

[root@ultra10] ldd xosview
        mpss.so.1 =>     /usr/lib/mpss.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libkstat.so.1 =>         /lib/libkstat.so.1
        libXpm.so.4.11 =>        /opt/pkg/lib/libXpm.so.4.11
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libstdc++.so.6 =>        /opt/pkg/lib-gcc/libstdc++.so.6
        libm.so.2 =>     /lib/libm.so.2
        libgcc_s.so.1 =>         /opt/pkg/lib-gcc/libgcc_s.so.1
        libc.so.1 =>     /lib/libc.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd5.so.1 =>   /lib/libmd5.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libdl.so.1 =>    /lib/libdl.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        /platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
        /platform/SUNW,Ultra-5_10/lib/libmd5_psr.so.1



Home | Main Index | Thread Index | Old Index