Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2003 02:25:10 +0000 (GMT)
From:      William Palfreman <william@palfreman.com>
To:        questions@freebsd.org
Subject:   Broken X/Development environment
Message-ID:  <20030209012629.Y283@ndhn.yna.cnyserzna.pbz>

next in thread | raw e-mail | index | archive | help
I think I've broken my X Development environment.  Nothing X seems to
compile on this 4.6.2-p6 machine anymore, as far as I can tell, although
non-X things like Apache seem to compile without issue.

I tried to install AfterStep recently, and that failed.  It even fails
with xsnow.  I have another more recently set up machine running 4.7-p3
that has installed both with no problem.

Nor does it make any difference on this machine whether the compiler
options are set to k6 or i386, nor did it ever in the past when it
worked.

What I have recently is do a pkgdb -F, and upgrade XFree86-4-libraries
from 4.2.0 to 4.2.1, which might be the problem.  Is there an easy way
to:

1: revert to 4.2.0 of the XFree-libraries

2: Force-fix whatever is broken

3: Recover my packaging systems without having to wipe /usr/X11R6

4: If I do have to wipe /usr/X11R6, is it reasonable straightforward to
get the pkg system updated?


Below is the output for installing xsnow.  Below that is the output of
pkg_info.  Please excuse all the junk, this is my own workstation behind
a firewall, that I use for general messing about.

aqua root /usr/ports/x11/xsnow
# make install clean
===>  Extracting for xsnow-1.41
>> Checksum OK for xsnow-1.41.tar.gz.
===>   xsnow-1.41 depends on executable: imake - found
===>   xsnow-1.41 depends on shared library: X11.6 - found
===>  Patching for xsnow-1.41
===>  Configuring for xsnow-1.41
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f-  --   -I/usr/X11R6/include    -DCSRG_BASED
-DFUNCPROTO=15 -DNARR
OWPROTO     -DUSE_MAKEDEPEND -- xsnow.c xsnow.h vroot.h > .depend
cc: Compilation of header file requested
cc: Compilation of header file requested
===>  Building for xsnow-1.41
cc -O -pipe -march=k6       -I/usr/X11R6/include    -DCSRG_BASED
-DFUNCPROTO=15 -DNARROWPROTO     -c xsnow.c
rm -f xsnow
cc -o xsnow       -L/usr/X11R6/lib xsnow.o -lXext -lX11   -lm -lXpm
-Wl,-rpath,/usr/X11R6/lib
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_signal'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to
`_Xthr_zero_stub_'
/usr/X11R6/lib/libX11.so: undefined reference to
`pthread_cond_broadcast'
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to
`_Xthr_self_stub_'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_init'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_unlock'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_self'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_destroy'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_lock'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_wait'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_destroy'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_init'
*** Error code 1
Stop in /usr/ports/x11/xsnow/work/xsnow-1.41.
*** Error code 1

Stop in /usr/ports/x11/xsnow.

# pkg_info

AbiWord-gnome-1.0.2 An open-source, cross-platform WYSIWYG word processor
BitchX-1.0c19_1     An alternative ircII color client with optional GTK/GNOME s
CommonC++-1.4.1     GNU project portable class framework for C++
ImageMagick-5.4.7.4 Image processing tools (interactive optional--misc/display
Mesa-3.4.2_2        A graphics library similar to SGI's OpenGL
ORBit-0.5.17        High-performance CORBA ORB with support for the C language
ORBit2-2.4.0        High-performance CORBA ORB with support for the C language
XFree86-4.2.0_1,1   X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.2.0 XFree86-4 Font Server
XFree86-Server-4.2.0_3 XFree86-4 X server and related programs
XFree86-VirtualFramebufferServer-4.2.0_1 XFree86-4 Virtual Framebuffer Server
XFree86-clients-4.2.0_2 XFree86-4 Client environments
XFree86-documents-4.2.0 XFree86-4 Document Files
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
XFree86-libraries-4.2.1_6 XFree86-4 include/(shared) library kit
Xaw3d-1.5           A 3-D Athena Widget set that looks like Motif
Xft-2.1             A client-sided font API for X applications
aalib-1.4.r5_1      An ascii art library
acroread-4.05       View, distribute and print PDF documents
apache-1.3.26_3     The extremely popular Apache http server.  Very fast, very
arts-1.0.4,1        Audio system for the KDE integrated X11 desktop
aspell-0.50.3       Spelling checker with better suggestion logic than ispell
atk-1.0.2           A GNOME accessibility toolkit (ATK)
autoconf-2.53       Automatically configure source code on many Un*x platforms
autoconf213-2.13.000227_1 Automatically configure source code on many Un*x platforms
autoconf213-2.13.000227_5 Automatically configure source code on many Un*x platforms
automake-1.5,1      GNU Standards-compliant Makefile generator
automake14-1.4.5    GNU Standards-compliant Makefile generator (legacy version
automake14-1.4.5_9  GNU Standards-compliant Makefile generator (legacy version
bash-2.05b          The GNU Bourne Again Shell
bayonne-0.5.3       Multi-line general purpose voice telephony server
bison-1.35_1        A parser generator from FSF, (mostly) compatible with Yacc
bitmap-fonts-1.0    Bitmap font, (6x12, 7x14, 8x16, 12x24) dots bitmap font
bonobo-1.0.20_2     The component and compound document system for GNOME
bonobo-activation-1.0.0 An object activation framework for GNOME 2.0
british-ispell-3.1_1 An interactive spelling checker for multiple languages
bugbuddy2-2.1.6     A bug reporting tool for GNOME 2.0
cabextract-0.5      A program to extract Microsoft cabinet (.CAB) files
ccaudio-0.2.4       C++ class framework for manipulating audio files
cclient-2002,1      Mark Crispin's C-client mail access routines
ccscript-1.4.1      State-event driven class extendible C++ script interpreter
cups-base-1.1.15.1_4 The Common UNIX Printing System: headers, libs, & daemons
cvsup-without-gui-16.1f General network file distribution system optimized for CVS
db3-3.2.9_3,1       The Berkeley DB package, revision 3
docbook-1.2         Meta-port for the different versions of the DocBook DTD
docbook-241         V2.4.1 of the DocBook DTD, designed for technical documenta
docbook-3.0         V3.0 of the DocBook DTD, designed for technical documentati
docbook-3.1         V3.1 of the DocBook DTD, designed for technical documentati
docbook-4.0         V4.0 of the DocBook DTD, designed for technical documentati
docbook-4.1         V4.1 of the DocBook DTD, designed for technical documentati
eel2-2.0.0          Generally useful classes and extensions to GNOME
eog2-1.0.0          The Eye Of Gnome image viewer
esound-0.2.27       A sound library for enlightenment package
evilwm-0.99.4.1     Minimalist window manager based on 9wm
expat-1.95.5        XML 1.0 parser written in C
fetchmail-6.2.0     Batch mail retrieval utility for IMAP/POP2/POP3/APOP/KPOP/E
fl_editor-0.4       Text Editor Widgets for the Fast Light ToolKit
fltk-1.0.10_1       C++ graphical user interface for X
flvw-20000224       Virtual Widgets for the Fast Light ToolKit
freeciv-imlib-1.13.0 A civilisation clone for X11; multiplayer
freefonts-0.10_1    A collection of ATM fonts (not all free) from the CICA arch
freetype-1.3.1_2    A free and portable TrueType font rendering engine
freetype2-2.1.3_1   A free and portable TrueType font rendering engine
gail-0.17           An implementation of the ATK interfaces for GTK+ widgets
gal-0.19.2_1        A collection of widgets taken from GNOME gnumeric and evolu
gcc-3.1.1_20020701  GNU Compiler Collection 3.1 (inprogress version)
gconf-1.0.9         A configuration database system for GNOME
gconf-editor-0.2    A gconf database editor for the GNOME 2.0 environment
gconf2-1.2.0        A configuration database system for GNOME
gdbm-1.8.0          The GNU database manager
gdk-pixbuf-0.17.0   A graphic library for GTK+
gdm2-2.4.0.0        GNOME 2.0 version of xdm display manager
gedit2-1.199.0      A small but powerful text editor for Gnome 2.0 Desktop Envi
gettext-0.11.5_1    GNU gettext package
ghostscript-gnu-7.05_1 GNU Postscript interpreter
gimp-1.2.3_1,1      the GNU Image Manipulation Program
glade2-1.1.0        A user interface builder for GTK+/GNOME
gle-3.0.3           A GL Tubing and Extrusion Library
glib-1.2.10_7       Some useful routines of C programming (previous stable vers
glib-2.0.7          Some useful routines of C programming (current stable versi
glibwww-0.2_1       A library for people wanting to use libwww with gtk/gnome
gmake-3.79.1_2      GNU version of 'make' utility
gnome-pkgview-0.0.7 Displays the version of GNOME 2 components installed
gnome2-2.0_6        The "meta-port" for the GNOME 2.0 integrated X11 desktop
gnomeapplets2-2.0.4 Applets components for the Gnome 2.0 Desktop Environment
gnomeaudio-1.4.0    Sound files for use with GNOME
gnomebasic-0.0.20   Provide Visual Basic compatible functionality for GNOME, es
gnomecanvas-0.17.0  A graphics library for GNOME
gnomecontrolcenter-1.4.0.5_1 Control center for GNOME project
gnomecontrolcenter2-1.99.10_1 Control center for GNOME 2.0 project
gnomecore-1.4.1     Core component for the Gnome Desktop Environment
gnomedb-0.2.96_1    Provide uniform access to data sources for the GNOME enviro
gnomedesktop-2.0.0  Additional UI API for GNOME 2.0
gnomegames2-2.0.0   The game applications package for the Gnome 2.0 Desktop Env
gnomehier-1.0_3     An utility port, installing hierarchy of common GNOME direc
gnomelibs-1.4.1.7   Libraries for GNOME, a GNU desktop environment
gnomemedia2-2.0.0   Multimedia applications for the GNOME 2.0 desktop
gnomemimedata-2.0.0 A MIME and Application database for GNOME
gnomepanel-2.0.0    Panel component for the GNOME 2.0 Desktop
gnomeprint-0.36     Gnome print support library
gnomesession-2.0.0  Session component for the GNOME 2.0 desktop
gnomesystemmonitor-2.0.0 GNOME 2.0 system monitor program
gnometerminal-2.0.0 Terminal component for the GNOME 2.0 Desktop
gnomeuserdocs2-2.0.1 GNOME 2.0 users guide
gnomeutils2-1.109.0,1 GNOME 2.0 support utilities
gnomevfs-1.0.5_4    GNOME Virtual File System
gnomevfs2-2.0.0     GNOME Virtual File System
gnumeric-1.0.9      The GNOME spreadsheet
gnupg-1.2.1         The GNU Privacy Guard
gqview-gnome-1.1.1  Another gtk-based graphic file viewer
gsm-1.0.10          Audio converter and library for converting u-law to gsm enc
gtar-1.13.25_4      GNU version of the traditional tar archiver
gtk-1.2.10_7        Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.0.3           Gimp Toolkit for X11 GUI (current stable version)
gtk-engines2-1.9.0  Theme engine for the gtk+-2.0 toolkit
gtkhtml-1.0.4       Lightweight HTML rendering/printing/editing engine
gtkspell2-2.0.2_1   A GTK+ 2 spell checking component
guile-1.4.1_1       GNU's Ubiquitous Intelligent Language for Extension
guppi-0.40.3_1      A ploting program for GNOME
gv-3.5.8            A PostScript and PDF previewer
imake-4.2.0_1       Imake and other utilities from XFree86
imlib-1.9.14_1      A graphic library for enlightenment package
iso8879-1986        Character entity sets from ISO 8879:1986 (SGML)
jade-1.2.1_1        An object-oriented SGML/XML parser toolkit and DSSSL engine
javavmwrapper-1.4   Wrapper script for various Java Virtual Machines
jbigkit-1.4         Lossless compression for bi-level images such as scanned pa
jdk-1.3.1p6_4       Sun's Java Developers Kit
jpeg-6b_1           IJG's jpeg compression utilities
kdebase-3.0.5       Base modules for the KDE integrated X11 desktop
kdelibs-3.0.5_1     Libraries for KDE
koi8-u-gemini-x11-1.0 Ukrainian KOI8 fonts for X11R6 (koi8-u)
lcms-1.09           Light Color Management System -- a color management library
leafnode-1.9.24     USENET software package designed for small sites
libIDL-0.8.0        A library for creating trees of CORBA Interface Definition
libart_lgpl2-2.3.8  Library for high-performance 2D graphics
libaudiofile-0.2.3  A sound library for SGI audio file
libbonobo-2.0.0     A component and compound document system for GNOME2
libbonoboui-2.0.0   GUI frontend to the libbonobo component of GNOME2
libdnet-1.5         A simple interface to level networking routines
libfpx-1.2.0.4_1    Library routines for working with Flashpix images
libgda-0.2.96_1     Provides uniform access to different kinds of data sources
libgda2-0.8.191     Provides uniform access to different kinds of data sources
libghttp-1.0.9      GNOME http client library
libglade-0.17_2     GNOME glade library
libglade2-2.0.0     GNOME glade library
libgnome-2.0.1      Libraries for GNOME, a GNU desktop environment
libgnomecanvas-2.0.1 A graphics library for GNOME
libgnomedb-0.8.191  Library components for the GNOME database frontend
libgnomeprint-1.115.0 Gnome print support library
libgnomeprintui-1.115.0 Gnome print support library
libgnomeui-2.0.1    Libraries for the GNOME GUI, a GNU desktop environment
libgnugetopt-1.1    GNU getopt library
libgtkhtml-2.0.0_1  Lightweight HTML rendering/printing/editing engine
libgtop2-2.0.0      GNOME 2.0 top library
libiconv-1.8_2      A character set conversion library
libmng-1.0.4        Multiple-image Network Graphics (MNG) reference library
libmpeg2-0.2.1_1    A free library for decoding mpeg-2 and mpeg-1 video streams
libole2-0.2.4       Support library for OLE functions (MS-Excel) for gnumeric
librep2-2002.06.11  An Emacs Lisp like runtime library
librsvg2-1.1.6      Library for parsing and rendering SVG vector-graphic files
libsidplay-1.36.54  A Commodore SID-chip emulator library to play SID music fil
libslang-1.4.5      Routines for rapid alpha-numeric terminal applications deve
libtool-1.3.4_4     Generic shared library support script
libungif-4.1.0b1    Tools and library routines for working with GIF images
libunicode-0.4_3    A library for manipulating Unicode characters and strings
libwmf-0.2.6        Tools and library for converting microsoft's wmf (windows m
libwnck-0.14        Library used for writing pagers and taskslists
libwww-5.3.2        The W3C Reference Library
libxml-1.8.17_1     Xml parser library for GNOME
libxml2-2.4.22_1    Xml parser library for GNOME
libxslt-1.0.18      The XSLT C library for GNOME
libzvt-1.99999.0    Library components for Zed's Virtual Terminal
linc-0.5.0          A library for writing networked servers & clients
linux-flashplugin-5.0r51 The official Macromedia Flash Player for Linux Netscape and
linux-jdk-1.3.1.03  Sun Java Development Kit 1.3 for Linux
linux-openmotif-2.1.30 Motif toolkit Linux libraries
linux-opera-6.03.20020813 A blazingly fast, full-featured, standards-compliant browse
linux-png-1.0.14_2  RPM of the PNG lib
linux_base-7.1      The base set of packages needed in Linux mode
linuxdoc-1.1        The Linuxdoc SGML DTD
lrzsz-0.12.20       Receive/Send files via X/Y/ZMODEM protocol.  (unrestrictive
lynx-ssl-2.8.4.1b_1 A non-graphical, text-based https-enabled World-Wide Web cl
m4-1.4_1            GNU's m4
matrix-1.0          C++ library to manipulate matrices and vectors
metacity-2.3.987    A window manager for the adult in you
metacity-setup-0.4.1 A graphical configurator tool for the metacity window manag
metatheme2-0.9.7    An utility for managing "theme sets" that accomodate gtk, w
minicom-2.00.0      An MS-DOS Telix serial communication program "workalike"
mkcatalog-1.1       A maintainance utility for sgml catalog files
mkisofs-1.15.a27    Create iso9660/Rock Ridge/Joliet filesystems
mod_php4-4.2.2      PHP4 module for Apache
mpage-2.5.3         Print multiple pages per sheet of paper
mpeg_lib-1.3.1      A collection of C routines to decode MPEG movies
mpeg_play-2.4       A program to play mpeg movies on X displays
mpg123-esound-0.59r_8 Command-line player for mpeg layer 1, 2 and 3 audio
mutt-1.4            The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh,
mysql++-1.7.9       Complex C++ API for MySQL
mysql-client-3.23.52 Multithreaded SQL database (client)
mysql-gui-1.7.5_1   A graphical SQL client for MySQL
mysql-server-3.23.52_1 Multithreaded SQL database (server)
nasm-0.98.33,1      General-purpose multi-platform x86 assembler
nautilus-gtkhtml-0.3.2_1 A simple NautilusView component for displaying html files i
nautilus2-2.0.0     GNOME file manager and graphical shell developed by Eazel
nmap-3.00           Port scanning utility for large networks
nspr-4.1.2          A platform-neutral API for system level and libc like funct
oaf-0.6.10          Object Activation Framework for GNOME
open-motif-2.1.30_2 Motif X11 Toolkit (industry standard GUI (IEEE 1295))
open-motif-2.2.2_1  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
p5-DBI-1.28         The perl5 Database Interface.  Required for DBD::* modules
p5-Data-ShowTable-3.3 Perl5 module to pretty-print arrays of data
p5-Font-TTF-0.28    Perl module for TrueType font hacking
p5-Mysql-modules-1.2216 Perl5 modules for accessing MySQL databases
p5-Net-Daemon-0.36  Perl5 extension for portable daemons
p5-PlRPC-0.2016     Perl module for writing RPC servers and clients
p5-Storable-2.04    Persistency for perl data structures
p5-Test-Simple-0.47 Basic utilities for writing tests in perl
pango-1.0.2         An open-source framework for the layout and rendering of i1
pcre-3.7            Perl Compatible Regular Expressions library
perl-5.8.0_4        Practical Extraction and Report Language
php4-4.2.2          PHP4 commandline interpreter
phpMyAdmin-2.3.0.rc4 A set of PHP-scripts to adminstrate MySQL over the web
pine-4.53           PINE(tm) -- a Program for Internet News & Email
pine-pgp-filters-1.0 Simple, fast, sh-based filters to integrate Pine with gnupg
pkg_tarup-1.2_3     Generates binary package from installed package
pkgconfig-0.15.0    An utility used to retrieve information about installed lib
plugger-4.0         A multimedia front-end plugin for Mozilla
png-1.2.5_1         Library for manipulating PNG images
popt-1.5.1_1        A getopt(3) like library with a number of enhancements, fro
portupgrade-20020902 Very powerful FreeBSD ports/packages upgrading tool and mor
procmail-3.22       A local mail delivery agent
psiconv-0.8.3       A conversion utility to convert Psion 5(MX) files into othe
pspell-0.12.2_1     Generic interface to spell checker libraries
pth-1.4.1_1         GNU Portable Threads
py22-expat-2.2.1    Python interface to the Expat XML parser
python-2.2.1        An interpreted object-oriented programming language
qt-3.0.5_5          A C++ X GUI toolkit
rep-gtk2-2002.06.11 GTK+ binding for rep Lisp interpreter
rplay-3.3.2_1       Network audio player
rpm-3.0.6_6         The Red Hat Package Manager
ruby-1.6.7.2002.07.15 An object-oriented interpreted scripting language
ruby-bdb1-0.1.7     Ruby interface to Berkeley DB revision 1.8x with full featu
ruby-shim-ruby18-1.7.2.2002.07.31 A set of Ruby modules to provide Ruby 1.8 functionalities
sawfish2-2002.06.11 Lisp configurable window manager
scrollkeeper-0.2,1  An Open Document Cataloging Project
sdl-1.2.5_1         Cross-platform multi-media development API (developm. vers.
sed_inplace-2002.06.28 A modified version of the sed(1) which can do in-place edit
sgmlformat-1.7_2    Generates groff and HTML from linuxdoc and docbook SGML doc
sidplay-1.0.8       A Commodore SID-chip emulator that plays SID music files
slrn-0.9.7.4        SLang-based newsreader
sox-12.17.3         SOund eXchange - universal sound sample translator
stlport-4.5.3       Adaptation of SGI's Standard Template Library
svgalib-1.4.2_1     A low level console graphics library
t1lib-1.3.1         A Type 1 Rasterizer Library for UNIX/X11
tiff-3.5.7          Tools and library routines for working with TIFF images
timidity++-esound-2.11.3 Software MIDI player
ttmkfdir-0.0        Create fonts.scale file for use with TrueType font server
unzip-5.50          List, test and extract compressed files in a ZIP archive
urwfonts-1.0        Another font package for X
vim-6.1.94          Vi "workalike", with many additional features
vlock-1.3           Locks a terminal
wavplay-1.4         A wav player and recorder
webfonts-0.21       TrueType core fonts for the Web
wrapper-1.0_2       Wrapper for XFree86-4 server
xanim-2.80.2        Play most popular animation formats and show pictures
xchat-gnome-1.8.9   An X11 IRC client using the GTK+ toolkit, and optionally, G
xmail-1.6           An X-based interface to the Berkeley mail program
xmp-esound-2.0.4    A player for many different Amiga and PC module formats
xpaint-2.6.2        A simple paint program
xpdf-2.01_1         Display PDF files, and convert them to other formats
xscreensaver-4.05   Save your screen while you entertain your cat
xscreensaver-gnome-4.06 Save your screen while you entertain your cat (for GNOME us
yelp-1.0            A help browser for GNOME 2.0 desktop
zip-2.3_1           Create/update ZIP files compatible with pkzip

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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