← Back to team overview

linuxdcpp-contributors team mailing list archive

Re: [Question #226093]: Error compiling on OpenIndiana 151.1.7

 

Question #226093 on LinuxDC++ changed:
https://answers.launchpad.net/linuxdcpp/+question/226093

Andrew Davis posted a new comment:
For those who stumble across this trying to build their own, here's the
complete install instructions:

N	scons >= 0.96
Y	pkg-config
N	g++ >= 4.1
?	gtk+-2.0 >= 2.12
Y	gthread-2.0 >= 2.4
Y	libglade-2.0 >= 2.4
N	pthread - Through Boost
Y	zlib
Y	libbz2
Y	libssl
N	libboost
Y	libnotify (optional)


scons: Reading SConscript files ...
CXX env variable is not set, attempting to use g++
Mkdir("build/sconf")
Checking for g++ >= 4.1...(cached) yes
Checking for pkg-config... yes
Checking for gtk+-2.0 >= 2.12... yes
Checking for gthread-2.0 >= 2.4... yes
Checking for libglade-2.0 >= 2.4... yes
Checking for C++ header file boost/version.hpp... yes
Checking for C header file time.h... yes
Checking for C header file signal.h... yes
Checking for C header file unistd.h... yes
Checking for C library pthread... yes
Checking for C library z... yes
Checking for C library bz2... yes
Checking for C library crypto... yes
Checking for C library ssl... yes
Checking for C library X11... yes
Checking for C header file iconv.h... yes
Checking for iconv(0, (const char **)0, 0, (char**)0, 0) in C library iconv... no
Checking for C header file net/if.h... yes
Checking for libnotify >= 0.4.1... yes
Checking for libnotify >= 0.7... no
Checking bzr revision...(cached) 424


Add SFE Repo to OI:

        pkg set-publisher -p http://pkg.openindiana.org/sfe

Install scons:

        pkg install developer/build/scons

Install BZR:

        pkg install bzr

Install G++ 4.3.3

        pkg install developer/illumos-gcc

Install Boost/pthread

	pkg install system/library/g++/boost
	pkg install system/library/g++/boost/header-boost

Install X11 Header Files:

        pkg install x11/header x11/header/header-xorg

Branch off Linuxcpp trunk with bzr

	bzr branch http://launchpad.net/linuxdcpp/trunk linuxdcpp
	
	If you run into an issue with certs, use this:

                bzr branch -Ossl.cert_reqs=none
http://launchpad.net/linuxdcpp/trunk linuxdcpp

Compile latest gettext from source:

	wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.2.tar.gz
	tar -zxvf gettext-0.18.2.tar.gz
	cd gettext-0.18.2
	./configure
	make
	make install

Export PATH to ensure you're using G++ 4.3+ prior to running setup:

        export
PATH="/usr/gcc/4.3/bin/:/usr/local/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin"

Symlink Boost to pass checks

        ln -s /usr/g++/include/boost /usr/include/boost

Compile LinuxDC++

        scons PREFIX=/usr

Install LinuxDC++

        scons install

-- 
You received this question notification because you are a member of
LinuxDC++ Contributors, which is an answer contact for LinuxDC++.