Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 10:54:47 -0700 (PDT)
From:      Paul Pathiakis <pathiaki2@yahoo.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Issue with egroupware install
Message-ID:  <1363110887.73407.YahooMailNeo@web141404.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,=0A=0AThe install is nice enough, however, since everyone is on Apache 2=
.2 and later now, there's a few things missing in the on-screen notes after=
 the install:=0A=0AIt already says this:=0A=0A=0A=0A=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=0APOST-INSTALL CONFIGURATION FOR eGroupware=0A=0A=0AMake su=
re in your php.ini session.save_path=3D'/tmp' is writable=0Aupload_max_file=
size >=3D 8M=0A=0A1) Create a user and a database for eGroupware to store a=
ll=0A=A0=A0 its tables in (or choose an existing database).=0A=A0=A0 It doe=
sn't matter what the database or user names are,=0A=A0=A0 as this will be c=
onfigured in a later step.=0A=0A2) Add the following to your Apache configu=
ration, and=0A=A0=A0 restart the server:=0A=0A=A0=A0 ### Add the AcceptPath=
Info directive only for Apache 2.0.30 or later.=0A=A0=A0 Alias /eg /usr/loc=
al/www/eg/=0A=A0=A0 AcceptPathInfo On=0A=A0=A0 <Directory /usr/local/www/eg=
>=0A=A0=A0=A0=A0=A0 AllowOverride None=0A=A0=A0=A0=A0=A0 Order Allow,Deny=
=0A=A0=A0=A0=A0=A0 Allow from all =0A=A0=A0 </Directory>=0A=A0=A0 <Director=
y /usr/local/www/egdata>=0A=A0=A0=A0=A0=A0 AllowOverride None=0A=A0=A0=A0=
=A0=A0 Order Allow,Deny=0A=A0=A0=A0=A0=A0 Deny from all =0A=A0=A0 </Directo=
ry>=0A=0A3) Visit your eGroupware site with a browser (i.e.,=0A=A0=A0 http:=
//your.server.com/eg/), and you should=0A=A0=A0 be taken to the install.php=
 script, which will lead=0A=A0=A0 you through creating a config file and th=
en=0A=A0=A0 setting up eGroupware, creating an admin account, etc.=0A=0A4) =
When you come to the setup page,please set the files'=0Aand backup's full p=
ath with:=0A=A0=A0 /usr/local/www/egdata/files=0A=A0=A0 /usr/local/www/egda=
ta/backup=0A=0A=0AIn step #2, there should be several other things added to=
 the httpd.conf for Apache to work right without pain.=A0 It would be bette=
r to have this:=0A=0A2) Add the following to your Apache configuration, and=
=0A=A0=A0 restart the server:=0A=0AIn the section for <IfModule dir_module>=
,=0A=0Achange:=0A=0A=0ADirectoryIndex index.html=0A=0Ato:=0A=0ADirectoryIne=
x index.php index.html=0A=0A=0A=A0=A0 ### Add the AcceptPathInfo directive =
only for Apache 2.0.30 or later.=0A=0AIn the Alias section, add:=0A=0A=A0=
=A0 Alias /eg /usr/local/www/eg/=0A=A0=A0 AcceptPathInfo On=0A=0AIn the Dir=
ectory section, after the complete =0A=0A=0A<Directory <path>/apache22/cgi-=
bin =0A=0A=A0=A0=A0 <snip>=0A</Directory?>=0A=0AAdd:=0A=0A=0A=A0=A0 <Direct=
ory /usr/local/www/eg>=0A=A0=A0=A0=A0=A0 AllowOverride None=0A=A0=A0=A0=A0=
=A0 Order Allow,Deny=0A=A0=A0=A0=A0=A0 Allow from all =0A=A0=A0 </Directory=
>=0A=A0=A0 <Directory /usr/local/www/egdata>=0A=A0=A0=A0=A0=A0 AllowOverrid=
e None=0A=A0=A0=A0=A0=A0 Order Allow,Deny=0A=A0=A0=A0=A0=A0 Deny from all =
=0A=A0=A0 </Directory>=0A=0AIn the <IfModule mime_module> section,=0A=0AAft=
er:=0A=0A=A0=A0=A0 AddType application/x-compress .Z=0A=A0=A0=A0 AddType ap=
plication/x-gzip .gz .tgz=0A=0A=0AAdd:=0A=0A=A0=A0=A0 AddType application/x=
-httpd-php .php=0A=A0=A0=A0 AddType application/x-httpd-php-source .phps=0A=
=0A=0A=0AJust helpin'=0A=0AP.
From owner-freebsd-ports@FreeBSD.ORG  Tue Mar 12 18:57:51 2013
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 6BC241A4;
 Tue, 12 Mar 2013 18:57:51 +0000 (UTC)
 (envelope-from amdmi3@amdmi3.ru)
Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.57])
 by mx1.freebsd.org (Postfix) with ESMTP id 291061E5;
 Tue, 12 Mar 2013 18:57:50 +0000 (UTC)
Received: from [213.148.20.85] (helo=hive.panopticon)
 by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256)
 (Exim 4.80) (envelope-from <amdmi3@amdmi3.ru>)
 id 1UFUOS-0004J8-B5; Tue, 12 Mar 2013 22:57:48 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
 by hive.panopticon (Postfix) with ESMTP id A5EA4B84D;
 Tue, 12 Mar 2013 22:57:47 +0400 (MSK)
Received: by hades.panopticon (Postfix, from userid 1000)
 id 9E63E572; Tue, 12 Mar 2013 22:57:47 +0400 (MSK)
Date: Tue, 12 Mar 2013 22:57:47 +0400
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: David Southwell <david@vizion2000.net>
Subject: Re: devel/lprof-devel build fail - libvigraimpex.so undefined
 reference
Message-ID: <20130312185747.GA93610@hades.panopticon>
Mail-Followup-To: David Southwell <david@vizion2000.net>,
 freebsd-ports@freebsd.org, fluffy@FreeBSD.org
References: <513EFFE4.3060101@vizion2000.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <513EFFE4.3060101@vizion2000.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: freebsd-ports@freebsd.org, fluffy@FreeBSD.org
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Mar 2013 18:57:51 -0000

* David Southwell (david@vizion2000.net) wrote:

> Errors on build:
> 
> [100%] Building CXX Object src/CMakefiles/lprof.dir/qrc_lprof.o
> Linking CXX executable lprof
> /usr/lib/libvigraimpex.so: undefined reference to 
> '_ZNKSt5ctypeIcE13_M_widen_initEv@GLIBCXX_3.4.11'
> *** Error code 1
> 1 error
> *** Error Code 2
> 1 error
> *** Error Code 2
> 1 error
> *** Error code 1
> 
> Stop in /usr/ports/graphics/lprof-devel.
> 
> Thanks in advance for any help with this

This really is a result of us sticking with a rotten gcc in the base
system for so long. And I expect more and more similar breakages to
follow.

Here, graphics/vigra uses gcc46 (since r307701) to build, and
combiled vigra library depends code only present in libstdc++ from
gcc46 (and not in libstdc++ in our base system).

To compile lprof, adding USE_GCC=4.6+ to it's Makefile would be enough,
however it won't run:

% lprof
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/lib/libvigraimpex.so.4 not found

To fix that, one needs to add LD_LIBRARY_PATH=/usr/local/lib/gcc46
into environement. The same thing will be required for all vigra
consumers.

If gcc46 is optional for vigra, the problem may be temporary fixed by
reverting r307701 (fluffy@?), however there will be more and more
software depending on newer libstdc++, and we need a way to address that
until all supported FreeBSD releases have switched to clang and new c++
stack.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1363110887.73407.YahooMailNeo>