Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 18:56:02 +0000 (GMT)
From:      Brother Seamus <brother_seamus@btinternet.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: advanced programming unix environment
Message-ID:  <765789.27853.qm@web86503.mail.ird.yahoo.com>

next in thread | raw e-mail | index | archive | help
just a note: same source code makes fine on solaris installation.=0A=0AI wo=
uld appreciate if somebody else running freebsd 7.0 could download source a=
nd see if it makes fine on their installation.=0A=0ASteven's "Advance Progr=
amming in the Unix Environment" Source code:=0Ahttp://www.apuebook.com/src.=
tar.gz=0A=0Athanks=0A=0A=0ADate: Mon, 14 Apr 2008 16:48:58 +0000 (GMT)=0AFr=
om: Brother Seamus <brother_seamus@btinternet.com>=0ASubject: advanced prog=
ramming unix environment=0ATo: freebsd-questions@freebsd.org=0AMessage-ID: =
<774348.47840.qm@web86514.mail.ird.yahoo.com>=0AContent-Type: text/plain; c=
harset=3Dutf-8=0A=0AI am trying to build the neccesary files for the steven=
s/rago APUE.2e book on FreeBSD 7.0=0A=0Aas instructed i get the source from=
 here: http://www.apuebook.com/src.tar.gz=0A=0Aunzip & untar to:=0A=0A/home=
/seamus/apue.2e=0A=0Acd /home/seamus/apue.2e=0A=0Aamend "Make.defines.freeb=
sd" as instructed so:=0A"WKDIR=3D/home/seamus/apue.2e"=0A=0Aand then run "m=
ake" from this directory.=0A=0AI get the following error:=0A+++++++++++++++=
++++++++++++++++++++++++++=0Apracct.c  ../lib/libapue.a =0Apracct.c: In fun=
ction 'main':=0Apracct.c:31: error: storage size of 'acdata' isn't known=0A=
pracct.c:31: warning: unused variable 'acdata'=0A*** Error code 1=0A=0AStop=
 in /usr/home/seamus/apue.2e/proc.=0A*** Error code 1=0A=0AStop in /usr/hom=
e/seamus/apue.2e.=0A*** Error code 1=0A=0AStop in /usr/home/seamus/apue.2e.=
=0A+++++++++++++++++++++++++++++++++++++++++=0A=0AI would appreciate any he=
lp.=0A=0A+++++++++++++++++++++++++++++++++++++++++=0AMake.defines.freebsd=
=0A+++++++++++++++++++++++++++++++++++++++++=0A=0A# Common make definitions=
, customized for each platform=0A=0A# Definitions required in all program d=
irectories to compile and link=0A# C programs using gcc.=0A=0AWKDIR=3D/home=
/seamus/apue.2e=0ACC=3Dgcc=0ACOMPILE.c=3D$(CC) $(CFLAGS) $(CPPFLAGS) -c=0AL=
INK.c=3D$(CC) $(CFLAGS) $(CPPFLAGS) $(LDDIR) $(LDFLAGS)=0ALDDIR=3D-L../lib=
=0ALDLIBS=3D../lib/libapue.a $(EXTRALIBS)=0ACFLAGS=3D-ansi -I$(WKDIR)/inclu=
de -Wall -DBSD $(EXTRA)=0A=0A# Our library that almost every program needs.=
=0ALIB=3D../libapue.a=0A=0A# Common temp files to delete from each director=
y.=0ATEMPFILES=3Dcore core.* *.o temp.* *.out typescript*=0A=0A++++++++++++=
+++++++++++++++++++++++++++++=0Apracct.c=0A++++++++++++++++++++++++++++++++=
+++++++++=0A=0A#include "apue.h"=0A#include <sys/acct.h>=0A=0A#ifdef HAS_SA=
_STAT=0A#define FMT "%-*.*s  e =3D %6ld, chars =3D %7ld, stat =3D %3u: %c %=
c %c %c\n"=0A#else=0A#define FMT "%-*.*s  e =3D %6ld, chars =3D %7ld, %c %c=
 %c %c\n"=0A#endif=0A#ifndef HAS_ACORE=0A#define ACORE 0=0A#endif=0A#ifndef=
 HAS_AXSIG=0A#define AXSIG 0=0A#endif=0A=0Astatic unsigned long=0Acompt2ulo=
ng(comp_t comptime)    /* convert comp_t to unsigned long */=0A{=0A    unsi=
gned long    val;=0A    int                exp;=0A=0A    val =3D comptime &=
 0x1fff;    /* 13-bit fraction */=0A    exp =3D (comptime >> 13) & 7;    /*=
 3-bit exponent (0-7) */=0A    while (exp-- > 0)=0A        val *=3D 8;=0A  =
  return(val);=0A}=0Aint=0Amain(int argc, char *argv[])=0A{=0A    struct ac=
ct        acdata;=0A    FILE            *fp;=0A=0A    if (argc !=3D 2)=0A  =
      err_quit("usage: pracct filename");=0A    if ((fp =3D fopen(argv[1], =
"r")) =3D=3D NULL)=0A        err_sys("can't open %s", argv[1]);=0A    while=
 (fread(&acdata, sizeof(acdata), 1, fp) =3D=3D 1) {=0A        printf(FMT, (=
int)sizeof(acdata.ac_comm),=0A            (int)sizeof(acdata.ac_comm), acda=
ta.ac_comm,=0A            compt2ulong(acdata.ac_etime), compt2ulong(acdata.=
ac_io),=0A#ifdef HAS_SA_STAT=0A            (unsigned char) acdata.ac_stat,=
=0A#endif=0A            acdata.ac_flag & ACORE ? 'D' : ' ',=0A            a=
cdata.ac_flag & AXSIG ? 'X' : ' ',=0A            acdata.ac_flag & AFORK ? '=
F' : ' ',=0A            acdata.ac_flag & ASU   ? 'S' : ' ');=0A    }=0A    =
if (ferror(fp))=0A        err_sys("read error");=0A    exit(0);=0A}=0A=0A=
=0A=0A=0A=0A=0A=0A------------------------------=0A=0AMessage: 23=0ADate: M=
on, 14 Apr 2008 13:16:45 -0400=0AFrom: Jerry McAllister <jerrymc@msu.edu>=
=0ASubject: Re: Can't log in as root on new 7.0 install=0ATo: Jesse Sheidlo=
wer <jester@panix.com>=0ACc: freebsd-questions@freebsd.org=0AMessage-ID: <2=
0080414171645.GJ31602@gizmo.acns.msu.edu>=0AContent-Type: text/plain; chars=
et=3Dus-ascii=0A=0AOn Mon, Apr 14, 2008 at 10:35:03AM -0400, Jesse Sheidlow=
er wrote:=0A=0A> =0A> I've recently installed FreeBSD 7.0 on a new server. =
I seem to=0A> be unable to log in as root in any way, and I'm not sure why.=
=0A> Furthermore I'm now physically separate from the machine, and=0A> have=
 been relying on a (non-computer-literate) colleague with=0A> access to its=
 console server to try and help.=0A> =0A> After the initial install I (am p=
retty sure I) was able to log=0A> in as root over ssh. However, after a wee=
k when the machine=0A> was inaccessible for other reasons, I cannot log in =
as root,=0A> only as a normal user.=0A> =0A> I thought that I had perhaps m=
is-remembered the root password,=0A> so I directed the colleague to log in =
in single user mode and=0A> reset the root password; she was able to do thi=
s, and typed=0A> "exit" to return the system to multi-user mode and herself=
 at=0A> a root prompt. However I was still not able to log in as root,=0A> =
either over ssh, or by logging in as a normal user and then=0A> typing "log=
in root" (i.e. it wasn't just something preventing=0A> root logins over ssh=
).=0A> =0A> I then asked the colleague to add me to the "wheel" group,=0A> =
which she successfully did; I logged out and back in again,=0A> determined =
that I was indeed in this group, and tried to "su -" =0A> and got a "su: So=
rry" message, with the colleague reporting=0A> that a "BAD SU [user] to roo=
t on /dev/ttyp0" message had=0A> appeared.=0A> =0A> I'm sort of at a loss f=
or what to do or why this is happening,=0A> and am quite eager to control m=
y own machine....Suggestions=0A> welcome.=0A=0AWell, the two things I would=
 guess are:  there is a syntax error=0Ain adding your regular id to the whe=
el group and you are typing=0Ain the root password incorrectly.=0A=0AI've n=
ever had it fail when I remembered to add my id to wheel=0Aand got the root=
 password right.=0A=0ACan your colleague log in with her id and then su to =
root?=0A=0AI have never used su with the '-' on it, but I presume that=0Ash=
ould be no problem.=0A=0A////jerry=0A=0A> =0A> Thanks very much.=0A> =0A> J=
esse Sheidlower=0A> _______________________________________________=0A> fre=
ebsd-questions@freebsd.org mailing list=0A> http://lists.freebsd.org/mailma=
n/listinfo/freebsd-questions=0A> To unsubscribe, send any mail to "freebsd-=
questions-unsubscribe@freebsd.org"=0A=0A=0A------------------------------=
=0A=0AMessage: 24=0ADate: Mon, 14 Apr 2008 17:43:30 +0100=0AFrom: Frank Shu=
te <frank@shute.org.uk>=0ASubject: Re: start up scripts stopped working=0AT=
o: Eric <eric@mikestammer.com>=0ACc: freebsd-questions <freebsd-questions@f=
reebsd.org>=0AMessage-ID: <20080414164330.GA48818@melon.esperance-linux.co.=
uk>=0AContent-Type: text/plain; charset=3Dus-ascii=0A=0AOn Sun, Apr 13, 200=
8 at 07:18:52PM -0600, Eric wrote:=0A>=0A> tomasz dereszynski wrote:=0A> >E=
ric wrote:=0A> >>hello,=0A> >>=0A> >>does anyone know what I can do to fix =
the following problem?  Every =0A> >>time my FreeBSd 6.2 machine reboots, n=
one of the scripts in the =0A> >>/usr/local/etc/rc.d directory launch the v=
arious programs i have =0A> >>defined in my rc.conf file. when i added=0A> =
>>=0A> >>rc_info=3Dyes=0A> >>rc_debug=3Dyes=0A> >>=0A> >>to rc.conf i see t=
hings getting evaluated, but nothing is launched. =0A> >>this forces someon=
e to log in locally to the machine and start =0A> >>openssh so i can get to=
 the box.=0A> >>=0A> >>does anyone know what could be causing this?=0A> >Hi=
 Eric,=0A> >=0A> >can you copy your rc.conf file?=0A> >=0A> >would be easie=
r to say something...=0A> >cheers=0A> >=0A> sure, here it is:=0A> =0A> defa=
ultrouter=3D"192.168.0.1"=0A> hostname=3D"someservername"=0A> ifconfig_xl0=
=3D"inet 192.168.0.51  netmask 255.255.255.0"=0A> =0A> =0A> #sshd_program=
=3D/usr/local/sbin/sshd=0A> #sshd_enable=3D"YES"=0A> # disable built in SSH=
 and enable SSH_portable=0A> sshd_enable=3D"NO"=0A> openssh_enable=3D"YES"=
=0A> =0A> font8x8=3D"swiss-8x8"=0A> font8x14=3D"NO"=0A> font8x16=3D"swiss-8=
x16"=0A> =0A> saslauthd_enable=3DYES=0A> =0A> postgrey_enable=3D"YES"=0A> =
=0A> sendmail_enable=3D"YES"=0A> sendmail_flags=3D"-bd"=0A> sendmail_outbou=
nd_enable=3D"NO"=0A> sendmail_submit_enable=3D"NO"=0A> sendmail_msp_queue_e=
nable=3D"NO"=0A> =0A> clamav_freshclam_enable=3DYES=0A> clamav_clamd_enable=
=3DYES=0A> =0A> amavisd_enable=3DYES=0A> =0A> dovecot_enable=3DYES=0A> =0A>=
 apache22_enable=3DYES=0A> samba_enable=3DYES=0A> smartd_enable=3D"YES"=0A>=
 =0A> mysql_enable=3D"YES"=0A> =0A> vsftpd_enable=3D"YES"=0A> =0A> denyhost=
s_enable=3D"YES"=0A> =0A> mailgraph_enable=3D"YES"=0A> =0A> ddclient_enable=
=3D"YES"=0A> =0A> twdm2_enable=3D"YES"=0A> =0A> kern_securelevel=3D"1"=0A> =
kern_securelevel_enable=3D"YES"=0A> =0A=0AI spotted a couple of things with=
 your rc.conf that could be causing=0Ayou trouble:=0A=0A1) There are a lot =
of unquoted YES's for enabling services. I don't=0Aknow if that could screw=
 thing's up but for form's sake, I'd try quoting=0Athem and rebooting.=0A=
=0A2) You seem to have set your security level quite high. I can't find=0Aw=
here they are documented in 6.3 (in 7.0 under security(7)) but it=0Acould b=
e worth a try commenting out the securelevel lines and=0Arebooting and then=
 setting your security level through sysctl (I=0Athink you can do that).=0A=
=0AHTH.=0A=0A-- =0A=0A Frank =0A=0A    =0A Contact info: http://www.shute.o=
rg.uk/misc/contact.html =0A=0A=0A=0A------------------------------=0A=0AMes=
sage: 25=0ADate: Mon, 14 Apr 2008 17:59:48 +0100=0AFrom: "uktradestreet" <i=
nfo@uktradestreet.com>=0ASubject: Renovation Projects=0ATo: <freebsd-questi=
ons@freebsd.org>=0AMessage-ID: <ae7a7a33ce65d45bab7006f10010e55e@uktradestr=
eet.com>=0AContent-Type: text/plain;    charset=3D"windows-1252"=0A=0AHello=
=0A=0AI came across your details and hope you will not see this as junk mai=
l; if =0Aso, please do accept my apologies.=0A=0A =0A=0AWe at  www.uktrades=
treet.com  can offer you a complimentary service in that =0Awe have genuine=
 customers - both commercial and domestic who would need your =0Aservices a=
nd as such we would welcome you to register with us for FREE.=0A=0A =0A=0AI=
f you are a customer who needs to have a job undertaken - whether at home =
=0Aor in the office, then likewise you are most welcome to post your job on=
 our =0Asite, and honest, reliable and customer recommended Tradespeople/co=
mpanies, =0Awill be happy to give you a Quotation.=0A=0A =0A=0AWhy not have=
 a look around, and remember, it is FREE to register ~ and you =0Acan tell =
all your friends and colleagues too!=0A=0A =0A=0AThanks=0A=0AMichelle=0A=0A=
T:020 8133 0625=0A=0Awww.uktradestreet.com=0A=0A =0A=0A =0A=0ATo unsubscrib=
e please reply with 'unsubscribe' in subject heading ~ but we =0Ahope you w=
ill sign up first!=0A=0A=0A=0A=0A=0A------------------------------=0A=0AMes=
sage: 26=0ADate: Mon, 14 Apr 2008 12:58:11 -0500=0AFrom: David Kelly <dkell=
y@hiwaay.net>=0ASubject: Re: Can't log in as root on new 7.0 install=0ATo: =
Jerry McAllister <jerrymc@msu.edu>=0ACc: Jesse Sheidlower <jester@panix.com=
>, freebsd-questions@freebsd.org=0AMessage-ID: <20080414175811.GA18380@Grum=
py.DynDNS.org>=0AContent-Type: text/plain; charset=3Dus-ascii=0A=0AOn Mon, =
Apr 14, 2008 at 01:16:45PM -0400, Jerry McAllister wrote:=0A> =0A> Well, th=
e two things I would guess are:  there is a syntax error in=0A> adding your=
 regular id to the wheel group and you are typing in the=0A> root password =
incorrectly.=0A=0AIn ancient times I had IRIX lock out a user because there=
 was a space at=0Athe end of their entry in /etc/passwd. Not hardly believi=
ng it myself,=0Amade a link copy of csh with a space at the end and the use=
r could=0Alogin. Fixed /etc/passwd, deleted the link, and placed a trouble =
report=0Awith SGI.=0A=0A-- =0ADavid Kelly N4HHE, dkelly@HiWAAY.net=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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0AWhom compute=
rs would destroy, they must first drive mad.=0A=0A=0A----------------------=
--------=0A=0AMessage: 27=0ADate: Mon, 14 Apr 2008 11:28:40 -0700 (PDT)=0AF=
rom: Dino Vliet <dino_vliet@yahoo.com>=0ASubject: yelp won't upgrade proper=
ly=0ATo: Jeremy Messenger <mezz7@cox.net>, freebsd-questions@freebsd.org,=
=0A    gnome@freebsd.org=0AMessage-ID: <195672.51309.qm@web51112.mail.re2.y=
ahoo.com>=0AContent-Type: text/plain; charset=3Diso-8859-1=0A=0A=0A=0AJerem=
y Messenger <mezz7@cox.net> wrote: On Sun, 13 Apr 2008 15:56:11 -0500, Dino=
 Vliet   =0Awrote:=0A=0A>=0A>=0A> Jeremy Messenger  wrote: On Sat, 12 Apr 2=
008 14:45:47  =0A> -0500, Dino Vliet=0A> wrote:=0A>=0A>> Folks,=0A>>=0A>> I=
've tried to upgrade my ports and get the following error from=0A>> gnome-a=
pplets everytime I do a portupgrade gnome-applets:=0A>>=0A>> ain.c:42: erro=
r: structure has no member named `gconf'=0A>> main.c:46: error: structure h=
as no member named `gweather_pref'=0A>> main.c:46: error: structure has no =
member named `gconf'=0A>> gmake[2]: *** [main.o] Error 1=0A>> gmake[2]: Lea=
ving directory=0A>> `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1=
/gweather'=0A>> gmake[1]: *** [install-recursive] Error 1=0A>> gmake[1]: Le=
aving directory=0A>> `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.=
1/gweather'=0A>> gmake: *** [install-recursive] Error 1=0A>> *** Error code=
 2=0A>>=0A>> Stop in /usr/ports/x11/gnome-applets.=0A>> *** Error code 1=0A=
>>=0A>> Stop in /usr/ports/x11/gnome-applets.=0A>> *** Error code 1=0A>>=0A=
>> Stop in /usr/ports/x11/gnome-applets.=0A>> ** Command failed [exit code =
1]: /usr/bin/script -qa=0A>> /tmp/portupgrade.38565.0 env UPGRADE_TOOL=3Dpo=
rtupgrade=0A>> UPGRADE_PORT=3Dgnome-applets-2.20.1 UPGRADE_PORT_VER=3D2.20.=
1 make=0A>> WITH_FAM_SYSTEM=3Dfam reinstall=0A>> --->  Restoring the old ve=
rsion=0A>>=0A>> ** Fix the installation problem and try again.=0A>> [Updati=
ng the pkgdb  in /var/db/pkg ... - 988 packages=0A>> found (-0 +1) . done]=
=0A>> ** Listing the failed packages (-:ignored / *:skipped / !:failed)=0A>=
>         ! x11/gnome-applets (gnome-applets-2.20.1)      (install error)=
=0A>> ** Could not clean up temporary directory: Directory not empty -=0A>>=
 /var/tmp/portupgradeOdM6jXk4=0A>>=0A>>=0A>> I'm seeing this on my AMD64 fr=
eebsd 6.3 system.=0A>>=0A>> Does anyone have ideas?=0A>=0A> Did you follow =
the /usr/ports/UPDATING?=0A>=0A> Cheers,=0A> Mezz=0A>=0A>> Thanks=0A>=0A> N=
ow I did and chek out the mess:=0A>=0A> ** Fix the problem and try again.=
=0A> ** Listing the failed packages (-:ignored / *:skipped / !:failed)=0A> =
        - graphics/ImageMagick (marked as IGNORE)=0A>         - java/diablo=
-jdk15 (marked as IGNORE)=0A>         - japanese/lynx (marked as IGNORE)=0A=
>         - java/jdk15 (marked as IGNORE)=0A>         - textproc/p5-Text-Pa=
rseWords (port directory error)=0A>         - x11-servers/xorg-printserver =
(marked as IGNORE)=0A>         ! devel/ccrtp (ccrtp-1.5.2)     (unknown bui=
ld error)=0A>         * devel/libzrtpcpp (libzrtpcpp-0.9.2)=0A>         * n=
et/twinkle (twinkle-1.0_4)=0A>         * multimedia/libxine (libxine-1.1.7_=
3)=0A>         ! x11/yelp (yelp-2.18.1_1)      (linker error)=0A>         *=
 finance/gnucash-docs (gnucash-docs-2.2.0)=0A>         * finance/gnucash (g=
nucash-2.2.0)=0A>         ! security/seahorse (gnome-keyring-manager-2.20.0=
)       =0A> (configure error)=0A>=0A> What is next?=0A=0AIt doesn't show a=
nything. You need to do it again to get actually error.  =0AThe portupgrade=
 has option to save build log or you can go to each port  =0Aand do it by h=
and to get build error log. As for the seahorse part, are  =0Ayou sure you =
have complete ports tree up to date? The portupgrade is  =0Asupposed to del=
ete gnome-keyring-manager. If you still have it, remove it  =0Aby manual an=
d redo it.=0A=0ACheers,=0AMezz=0A=0A=0A-- =0Amezz7@cox.net  -  mezz@FreeBSD=
.org=0AFreeBSD GNOME Team=0Ahttp://www.FreeBSD.org/gnome/  -  gnome@FreeBSD=
.org=0AOk thanks for the suggestions,=0A=0AI've started with Yelp but am ge=
tting this error when doing a make install distclean.=0A=0A[root@amd_deskto=
p /usr/ports/x11/yelp]# make install distclean=0A=3D=3D=3D>  Building for y=
elp-2.22.1=0Agmake  all-recursive=0Agmake[1]: Entering directory `/usr/port=
s/x11/yelp/work/yelp-2.22.1'=0AMaking all in src=0Agmake[2]: Entering direc=
tory `/usr/ports/x11/yelp/work/yelp-2.22.1/src'=0Agmake  all-am=0Agmake[3]:=
 Entering directory `/usr/ports/x11/yelp/work/yelp-2.22.1/src'=0A/bin/sh ..=
/libtool --tag=3DCXX --mode=3Dlink c++ -fno-rtti  -fshort-wchar -O2 -fno-st=
rict-aliasing -pipe -Wall -Wno-unused  -Wno-ctor-dtor-privacy -Wno-non-virt=
ual-dtor -O2 -fno-strict-aliasing -pipe  -L/usr/local/lib -o yelp -R/usr/lo=
cal/lib/firefox  yelp-Yelper.o yelp-yelp-base.o yelp-yelp-bookmarks.o yelp-=
yelp-debug.o yelp-yelp-error.o yelp-yelp-gecko-utils.o yelp-yelp-html.o yel=
p-yelp-io-channel.o yelp-yelp-settings.o yelp-yelp-utils.o yelp-yelp-window=
.o yelp-yelp-marshal.o yelp-yelp-main.o yelp-yelp-print.o yelp-yelp-page.o =
yelp-yelp-transform.o yelp-yelp-gecko-services.o yelp-yelp-document.o yelp-=
yelp-toc.o yelp-yelp-docbook.o yelp-yelp-db-print.o yelp-yelp-man-parser.o =
yelp-yelp-man.o yelp-yelp-info.o yelp-yelp-info-parser.o yelp-gtkentryactio=
n.o yelp-yelp-search.o yelp-yelp-search-parser.o -pthread -L/usr/local/lib =
-lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-=
2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2
 -lart_lgpl_2=0A -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lp=
angocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcompos=
ite -lXdamage -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -l=
X11 -lXfixes -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lexslt -lxslt -lz -lm -=
lgcrypt -lgpg-error -lxml2 -lstartup-notification-1 -ldbus-glib-1 -ldbus-1 =
-lgobject-2.0 -lglib-2.0 -liconv -lrarian     -lz -lbz2  -lSM -lICE  -L/usr=
/local/lib -lX11  -Wl,-rpath,/usr/local/lib/firefox -pthread -L/usr/local/l=
ib/firefox -L/usr/local/lib -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4   =
  =0Ac++ -fno-rtti -fshort-wchar -O2 -fno-strict-aliasing -pipe -Wall -Wno-=
unused -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -O2 -fno-strict-aliasin=
g -pipe -o yelp yelp-Yelper.o yelp-yelp-base.o yelp-yelp-bookmarks.o yelp-y=
elp-debug.o yelp-yelp-error.o yelp-yelp-gecko-utils.o yelp-yelp-html.o yelp=
-yelp-io-channel.o yelp-yelp-settings.o yelp-yelp-utils.o yelp-yelp-window.=
o yelp-yelp-marshal.o yelp-yelp-main.o yelp-yelp-print.o yelp-yelp-page.o y=
elp-yelp-transform.o yelp-yelp-gecko-services.o yelp-yelp-document.o yelp-y=
elp-toc.o yelp-yelp-docbook.o yelp-yelp-db-print.o yelp-yelp-man-parser.o y=
elp-yelp-man.o yelp-yelp-info.o yelp-yelp-info-parser.o yelp-gtkentryaction=
.o yelp-yelp-search.o yelp-yelp-search-parser.o -pthread -Wl,-rpath -Wl,/us=
r/local/lib/firefox -pthread  -L/usr/local/lib /usr/local/lib/libglade-2.0.=
so /usr/local/lib/libgnomeui-2.so /usr/local/lib/libgio-2.0.so /usr/local/l=
ib/libgnome-keyring.so /usr/local/lib/libjpeg.so
 /usr/local/lib/libbonoboui-2.so=0A /usr/local/lib/libgnomecanvas-2.so /usr=
/local/lib/libgailutil.so /usr/local/lib/libpixman-1.so /usr/local/lib/libg=
nome-2.so /usr/local/lib/libgnomevfs-2.so -lssl -lcrypto -lutil /usr/local/=
lib/libesd.so -laudiofile /usr/local/lib/libpopt.so /usr/local/lib/libbonob=
o-2.so /usr/local/lib/libbonobo-activation.so /usr/local/lib/libORBitCosNam=
ing-2.so /usr/local/lib/libart_lgpl_2.so /usr/local/lib/libgtk-x11-2.0.so /=
usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib=
/libgdk_pixbuf-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/li=
bXinerama.so /usr/local/lib/libXi.so /usr/local/lib/libXrandr.so /usr/local=
/lib/libXcursor.so /usr/local/lib/libXcomposite.so /usr/local/lib/libXext.s=
o /usr/local/lib/libXdamage.so /usr/local/lib/libcairo.so /usr/local/lib/li=
bglitz.so -lpng /usr/local/lib/libXrender.so /usr/local/lib/libpangoft2-1.0=
.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libfontconfig.so /usr/loc=
al/lib/libfreetype.so
 /usr/local/lib/libexpat.so=0A /usr/local/lib/libXfixes.so /usr/local/lib/l=
ibgconf-2.so /usr/local/lib/libORBit-2.so /usr/local/lib/libgthread-2.0.so =
/usr/local/lib/libgmodule-2.0.so /usr/local/lib/libexslt.so /usr/local/lib/=
libxslt.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/=
local/lib/libxml2.so -lm /usr/local/lib/libstartup-notification-1.so /usr/l=
ocal/lib/libdbus-glib-1.so /usr/local/lib/libdbus-1.so -pthread /usr/local/=
lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so -licui18n /usr/local/li=
b/libintl.so /usr/local/lib/libpcre.so /usr/local/lib/libiconv.so /usr/loca=
l/lib/librarian.so -lz -lbz2 /usr/local/lib/libSM.so /usr/local/lib/libICE.=
so /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmc=
p.so -lrpcsvc -L/usr/local/lib/firefox -lgtkembedmoz -lxpcom -lplds4 -lplc4=
 -lnspr4   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -W=
l,--rpath -Wl,/usr/local/lib/firefox=0Ayelp-Yelper.o(.text+0x26d): In funct=
ion `Yelper::Find(char const*)':=0A: undefined reference to `NS_CStringCont=
ainerInit2'=0Ayelp-yelp-gecko-services.o(.text+0x631): In function `PrintLi=
stener::SetPrintSettings(_YelpPrintInfo*, int, nsIPrintSettings*)':=0A: und=
efined reference to `NS_StringContainerInit2'=0Ayelp-yelp-gecko-services.o(=
.text+0x6f4): In function `PrintListener::SetPrintSettings(_YelpPrintInfo*,=
 int, nsIPrintSettings*)':=0A: undefined reference to `NS_CStringContainerI=
nit2'=0Ayelp-yelp-gecko-services.o(.text+0x8fd): In function `PrintListener=
::SetPrintSettings(_YelpPrintInfo*, int, nsIPrintSettings*)':=0A: undefined=
 reference to `NS_CStringContainerInit2'=0Ayelp-yelp-gecko-services.o(.text=
+0x9cf): In function `PrintListener::SetPrintSettings(_YelpPrintInfo*, int,=
 nsIPrintSettings*)':=0A: undefined reference to `NS_CStringContainerInit2'=
=0Ayelp-yelp-gecko-services.o(.text+0xa1e): In function `PrintListener::Set=
PrintSettings(_YelpPrintInfo*, int, nsIPrintSettings*)':=0A: undefined refe=
rence to `NS_CStringContainerInit2'=0Ayelp-yelp-gecko-services.o(.text+0xa6=
d): In function `PrintListener::SetPrintSettings(_YelpPrintInfo*, int, nsIP=
rintSettings*)':=0A: undefined reference to `NS_CStringContainerInit2'=0Aye=
lp-yelp-gecko-services.o(.text+0xabc): more undefined references to `NS_CSt=
ringContainerInit2' follow=0A/usr/local/lib/libgtkembedmoz.so: undefined re=
ference to `NS_InitXPCOM3'=0Agmake[3]: *** [yelp] Error 1=0Agmake[3]: Leavi=
ng directory `/usr/ports/x11/yelp/work/yelp-2.22.1/src'=0Agmake[2]: *** [al=
l] Error 2=0Agmake[2]: Leaving directory `/usr/ports/x11/yelp/work/yelp-2.2=
2.1/src'=0Agmake[1]: *** [all-recursive] Error 1=0Agmake[1]: Leaving direct=
ory `/usr/ports/x11/yelp/work/yelp-2.22.1'=0Agmake: *** [all] Error 2=0A***=
 Error code 2=0A=0AStop in /usr/ports/x11/yelp.=0A=0AWhat can I do to solve=
 this?=0A=0A        =0A=0A=0A------------------------------=0A=0AMessage: 2=
8=0ADate: Mon, 14 Apr 2008 11:36:18 -0700 (PDT)=0AFrom: Dino Vliet <dino_vl=
iet@yahoo.com>=0ASubject: Re: port seahorse won't upgrade properly=0ATo: Je=
remy Messenger <mezz7@cox.net>=0ACc: gnome@freebsd.org, freebsd-questions@f=
reebsd.org=0AMessage-ID: <955740.54203.qm@web51105.mail.re2.yahoo.com>=0ACo=
ntent-Type: text/plain; charset=3Diso-8859-1=0A=0A=0A=0AJeremy Messenger <m=
ezz7@cox.net> wrote: On Sun, 13 Apr 2008 15:56:11 -0500, Dino Vliet   =0Awr=
ote:=0A=0A>=0A>=0A> Jeremy Messenger  wrote: On Sat, 12 Apr 2008 14:45:47  =
=0A> -0500, Dino Vliet=0A> wrote:=0A>=0A>> Folks,=0A>>=0A>> I've tried to u=
pgrade my ports and get the following error from=0A>> gnome-applets everyti=
me I do a portupgrade gnome-applets:=0A>>=0A>> ain.c:42: error: structure h=
as no member named `gconf'=0A>> main.c:46: error: structure has no member n=
amed `gweather_pref'=0A>> main.c:46: error: structure has no member named `=
gconf'=0A>> gmake[2]: *** [main.o] Error 1=0A>> gmake[2]: Leaving directory=
=0A>> `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather'=0A>=
> gmake[1]: *** [install-recursive] Error 1=0A>> gmake[1]: Leaving director=
y=0A>> `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather'=0A=
>> gmake: *** [install-recursive] Error 1=0A>> *** Error code 2=0A>>=0A>> S=
top in /usr/ports/x11/gnome-applets.=0A>> *** Error code 1=0A>>=0A>> Stop i=
n /usr/ports/x11/gnome-applets.=0A>> *** Error code 1=0A>>=0A>> Stop in /us=
r/ports/x11/gnome-applets.=0A>> ** Command failed [exit code 1]: /usr/bin/s=
cript -qa=0A>> /tmp/portupgrade.38565.0 env UPGRADE_TOOL=3Dportupgrade=0A>>=
 UPGRADE_PORT=3Dgnome-applets-2.20.1 UPGRADE_PORT_VER=3D2.20.1 make=0A>> WI=
TH_FAM_SYSTEM=3Dfam reinstall=0A>> --->  Restoring the old version=0A>>=0A>=
> ** Fix the installation problem and try again.=0A>> [Updating the pkgdb  =
in /var/db/pkg ... - 988 packages=0A>> found (-0 +1) . done]=0A>> ** Listin=
g the failed packages (-:ignored / *:skipped / !:failed)=0A>>         ! x11=
/gnome-applets (gnome-applets-2.20.1)      (install error)=0A>> ** Could no=
t clean up temporary directory: Directory not empty -=0A>> /var/tmp/portupg=
radeOdM6jXk4=0A>>=0A>>=0A>> I'm seeing this on my AMD64 freebsd 6.3 system.=
=0A>>=0A>> Does anyone have ideas?=0A>=0A> Did you follow the /usr/ports/UP=
DATING?=0A>=0A> Cheers,=0A> Mezz=0A>=0A>> Thanks=0A>=0A> Now I did and chek=
 out the mess:=0A>=0A> ** Fix the problem and try again.=0A> ** Listing the=
 failed packages (-:ignored / *:skipped / !:failed)=0A>         - graphics/=
ImageMagick (marked as IGNORE)=0A>         - java/diablo-jdk15 (marked as I=
GNORE)=0A>         - japanese/lynx (marked as IGNORE)=0A>         - java/jd=
k15 (marked as IGNORE)=0A>         - textproc/p5-Text-ParseWords (port dire=
ctory error)=0A>         - x11-servers/xorg-printserver (marked as IGNORE)=
=0A>         ! devel/ccrtp (ccrtp-1.5.2)     (unknown build error)=0A>     =
    * devel/libzrtpcpp (libzrtpcpp-0.9.2)=0A>         * net/twinkle (twinkl=
e-1.0_4)=0A>         * multimedia/libxine (libxine-1.1.7_3)=0A>         ! x=
11/yelp (yelp-2.18.1_1)      (linker error)=0A>         * finance/gnucash-d=
ocs (gnucash-docs-2.2.0)=0A>         * finance/gnucash (gnucash-2.2.0)=0A> =
        ! security/seahorse (gnome-keyring-manager-2.20.0)       =0A> (conf=
igure error)=0A>=0A> What is next?=0A=0AIt doesn't show anything. You need =
to do it again to get actually error.  =0AThe portupgrade has option to sav=
e build log or you can go to each port  =0Aand do it by hand to get build e=
rror log. As for the seahorse part, are  =0Ayou sure you have complete port=
s tree up to date? The portupgrade is  =0Asupposed to delete gnome-keyring-=
manager. If you still have it, remove it  =0Aby manual and redo it.=0A=0ACh=
eers,=0AMezz=0A=0A=0A-- =0Amezz7@cox.net  -  mezz@FreeBSD.org=0AFreeBSD GNO=
ME Team=0Ahttp://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org=0AI've contin=
ued with the seahorse problem. In /usr/ports/UPDATING I couldn't find anyth=
ing regarding seahorse!=0A=0ASo I removed gnome-keyring-manager as you sugg=
ested.=0AThen I did a portsnap fetch update.=0A=0AI then tried to install s=
eahorse but got the following error:=0A=3D=3D=3D>   epiphany-2.22.1.1 depen=
ds on shared library: ORBit-2.0 - found=0A=3D=3D=3D>   epiphany-2.22.1.1 de=
pends on shared library: pango-1.0.0 - found=0A=3D=3D=3D>  Configuring for =
epiphany-2.22.1.1=0Achecking for a BSD-compatible install... /usr/bin/insta=
ll -c -o root -g wheel=0Achecking whether build environment is sane... yes=
=0Achecking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p=0Achecki=
ng for gawk... gawk=0Achecking whether gmake sets $(MAKE)... yes=0Achecking=
 how to create a ustar tar archive... gnutar=0Achecking whether to enable m=
aintainer-specific portions of Makefiles... no=0Achecking build system type=
... amd64-portbld-freebsd6.3=0Achecking host system type... amd64-portbld-f=
reebsd6.3=0Achecking for style of include used by gmake... GNU=0Achecking f=
or gcc... cc=0Achecking for C compiler default output file name... a.out=0A=
checking whether the C compiler works... yes=0Achecking whether we are cros=
s compiling... no=0Achecking for suffix of executables... =0Achecking for s=
uffix of object files... o=0Achecking whether we are using the GNU C compil=
er... yes=0Achecking whether cc accepts -g... yes=0Achecking for cc option =
to accept ISO C89... none needed=0Achecking dependency style of cc... gcc3=
=0Achecking for a sed that does not truncate output... /usr/bin/sed=0Acheck=
ing for grep that handles long lines and -e... /usr/bin/grep=0Achecking for=
 egrep... /usr/bin/grep -E=0Achecking for ld used by cc... /usr/bin/ld=0Ach=
ecking if the linker (/usr/bin/ld) is GNU ld... yes=0Achecking for /usr/bin=
/ld option to reload object files... -r=0Achecking for BSD-compatible nm...=
 /usr/bin/nm -B=0Achecking whether ln -s works... yes=0Achecking how to rec=
ognize dependent libraries... pass_all=0Achecking how to run the C preproce=
ssor... cc -E=0Achecking for ANSI C header files... yes=0Achecking for sys/=
types.h... yes=0Achecking for sys/stat.h... yes=0Achecking for stdlib.h... =
yes=0Achecking for string.h... yes=0Achecking for memory.h... yes=0Acheckin=
g for strings.h... yes=0Achecking for inttypes.h... yes=0Achecking for stdi=
nt.h... yes=0Achecking for unistd.h... yes=0Achecking dlfcn.h usability... =
yes=0Achecking dlfcn.h presence... yes=0Achecking for dlfcn.h... yes=0Achec=
king whether we are using the GNU C++ compiler... yes=0Achecking whether c+=
+ accepts -g... yes=0Achecking dependency style of c++... gcc3=0Achecking h=
ow to run the C++ preprocessor... c++ -E=0Achecking for g77... no=0Acheckin=
g for xlf... no=0Achecking for f77... f77=0Achecking whether we are using t=
he GNU Fortran 77 compiler... yes=0Achecking whether f77 accepts -g... yes=
=0Achecking the maximum length of command line arguments... (cached) 262144=
=0Achecking command to parse /usr/bin/nm -B output from cc object... ok=0Ac=
hecking for objdir... .libs=0Achecking for ar... ar=0Achecking for ranlib..=
. ranlib=0Achecking for strip... strip=0Achecking if cc supports -fno-rtti =
-fno-exceptions... no=0Achecking for cc option to produce PIC... -fPIC=0Ach=
ecking if cc PIC flag -fPIC works... yes=0Achecking if cc static flag -stat=
ic works... yes=0Achecking if cc supports -c -o file.o... yes=0Achecking wh=
ether the cc linker (/usr/bin/ld) supports shared libraries... yes=0Achecki=
ng whether -lc should be explicitly linked in... yes=0Achecking dynamic lin=
ker characteristics... freebsd6.3 ld.so=0Achecking how to hardcode library =
paths into programs... immediate=0Achecking whether stripping libraries is =
possible... yes=0Achecking for shl_load... no=0Achecking for shl_load in -l=
dld... no=0Achecking for dlopen... yes=0Achecking whether a program can dlo=
pen itself... yes=0Achecking whether a statically linked program can dlopen=
 itself... no=0Achecking if libtool supports shared libraries... yes=0Achec=
king whether to build shared libraries... yes=0Achecking whether to build s=
tatic libraries... no=0Aconfigure: creating libtool=0Aappending configurati=
on tag "CXX" to libtool=0Achecking for ld used by c++... /usr/bin/ld=0Achec=
king if the linker (/usr/bin/ld) is GNU ld... yes=0Achecking whether the c+=
+ linker (/usr/bin/ld) supports shared libraries... yes=0Achecking for c++ =
option to produce PIC... -fPIC=0Achecking if c++ PIC flag -fPIC works... ye=
s=0Achecking if c++ static flag -static works... yes=0Achecking if c++ supp=
orts -c -o file.o... yes=0Achecking whether the c++ linker (/usr/bin/ld) su=
pports shared libraries... yes=0Achecking dynamic linker characteristics...=
 freebsd6.3 ld.so=0Achecking how to hardcode library paths into programs...=
 immediate=0Aappending configuration tag "F77" to libtool=0Achecking if lib=
tool supports shared libraries... yes=0Achecking whether to build shared li=
braries... yes=0Achecking whether to build static libraries... no=0Acheckin=
g for f77 option to produce PIC... -fPIC=0Achecking if f77 PIC flag -fPIC w=
orks... yes=0Achecking if f77 static flag -static works... yes=0Achecking i=
f f77 supports -c -o file.o... yes=0Achecking whether the f77 linker (/usr/=
bin/ld) supports shared libraries... yes=0Achecking dynamic linker characte=
ristics... freebsd6.3 ld.so=0Achecking how to hardcode library paths into p=
rograms... immediate=0Achecking for library containing strerror... none req=
uired=0Achecking for gcc... (cached) cc=0Achecking whether we are using the=
 GNU C compiler... (cached) yes=0Achecking whether cc accepts -g... (cached=
) yes=0Achecking for cc option to accept ISO C89... (cached) none needed=0A=
checking dependency style of cc... (cached) gcc3=0Achecking for gcc... (cac=
hed) cc=0Achecking whether we are using the GNU C compiler... (cached) yes=
=0Achecking whether cc accepts -g... (cached) yes=0Achecking for cc option =
to accept ISO C89... (cached) none needed=0Achecking dependency style of cc=
... (cached) gcc3=0Achecking for ANSI C header files... (cached) yes=0Achec=
king whether we are using the GNU C++ compiler... (cached) yes=0Achecking w=
hether c++ accepts -g... (cached) yes=0Achecking dependency style of c++...=
 (cached) gcc3=0Achecking for glib-genmarshal... /usr/local/bin/glib-genmar=
shal=0Achecking for glib-mkenums... /usr/local/bin/glib-mkenums=0Achecking =
for intltool >=3D 0.35.0... 0.36.2 found=0Achecking for perl... /usr/bin/pe=
rl=0Achecking for XML::Parser... ok=0Achecking for pkg-config... /usr/local=
/bin/pkg-config=0Achecking pkg-config is at least version 0.9.0... yes=0Ach=
ecking what warning flags to pass to the C compiler... =0Achecking what lan=
guage compliance flags to pass to the C compiler... =0Achecking what warnin=
g flags to pass to the C++ compiler... -Wall -Wno-unused=0Achecking what la=
nguage compliance flags to pass to the C++ compiler... =0Achecking for DEPE=
NDENCIES... configure: error: Package requirements (=0A                  gl=
ib-2.0 >=3D 2.16.0=0A                  gmodule-2.0=0A                  gio-=
unix-2.0 >=3D 2.16.0=0A                  gtk+-2.0 >=3D 2.12.0=0A           =
       gtk+-unix-print-2.0 >=3D 2.12.0=0A                  libxml-2.0 >=3D =
2.6.12=0A                  libxslt >=3D 1.1.7=0A                  libgnome-=
2.0 >=3D 2.14.0=0A                  libgnomeui-2.0 >=3D 2.14.0=0A          =
        libglade-2.0 >=3D 2.3.1                   gconf-2.0=0A             =
     gnome-desktop-2.0 >=3D 2.9.91=0A                  libstartup-notificat=
ion-1.0 >=3D 0.5=0A                  libnotify >=3D 0.4=0A                 =
 ) were not met:=0A=0APackage gnome-keyring-1 was not found in the pkg-conf=
ig search path.=0APerhaps you should add the directory containing `gnome-ke=
yring-1.pc'=0Ato the PKG_CONFIG_PATH environment variable=0APackage 'gnome-=
keyring-1', required by 'libgnomeui', not found=0A=0AConsider adjusting the=
 PKG_CONFIG_PATH environment variable if you=0Ainstalled software in a non-=
standard prefix.=0A=0AAlternatively, you may set the environment variables =
DEPENDENCIES_CFLAGS=0Aand DEPENDENCIES_LIBS to avoid the need to call pkg-c=
onfig.=0ASee the pkg-config man page for more details.=0A=0A=3D=3D=3D>  Scr=
ipt "configure" failed unexpectedly.=0APlease run the gnomelogalyzer, avail=
able from=0A"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will di=
agnose the=0Aproblem and suggest a solution. If - and only if - the gnomelo=
galyzer cannot=0Asolve the problem, report the build failure to the FreeBSD=
 GNOME team at=0Agnome@FreeBSD.org, and attach (a)=0A"/usr/ports/www/epipha=
ny/work/epiphany-2.22.1.1/config.log", (b) the output=0Aof the failed make =
command, and (c) the gnomelogalyzer output. Also, it might=0Abe a good idea=
 to provide an overview of all packages installed on your system=0A(i.e. an=
 `ls /var/db/pkg`). Put your attachment up on any website,=0Acopy-and-paste=
 into http://freebsd-gnome.pastebin.com, or use send-pr(1) with=0Athe attac=
hment. Try to avoid sending any attachments to the mailing list=0A(gnome@Fr=
eeBSD.org), because attachments sent to FreeBSD mailing lists are=0Ausually=
 discarded by the mailing list software.=0A*** Error code 1=0A=0AStop in /u=
sr/ports/www/epiphany.=0A*** Error code 1=0A=0AStop in /usr/ports/security/=
seahorse.=0A*** Error code 1=0A=0AStop in /usr/ports/security/seahorse.=0A=
=0A=0AWhat now?=0AI really don't have a clue.=0AHope you can help me out,=
=0A=0Abrgds=0ADino=0A=0A=0A=0A        =0A=0A------------------------------=
=0A=0A_______________________________________________=0Afreebsd-questions@f=
reebsd.org mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd=
-questions=0ATo unsubscribe, send any mail to "freebsd-questions-unsubscrib=
e@freebsd.org"=0A=0AEnd of freebsd-questions Digest, Vol 211, Issue 3=0A***=
**********************************************=0A=0A=0A=0A



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