Hi, Leslie

Try this.

Create a file: $HOME/.xinitrc

containing: /usr/local/bin/startxfce4

Then give 'startx' another shot.



I did all the things suggested here at the list with no success so I decided to clean out and start over.

did pkg_delete -f '*'

rm -r /usr/ports/distfiles

rm -r /usr/local/*


Then I installed

sysutils/screen

ports-mgmt/portupgrade

ports-mgmt/portmaster

And started installation of

x11/xorg

But it fails rather quickly with the message below:

I've attached the log file and output suggested in the message.

One thing that I see is the path to pkg-config is

:whereis pkg-config
pkg-config: /usr/ports/devel/pkg-config

where as on my other machine I've got

whereis pkg-config
pkg-config: /usr/local/bin/pkg-config /usr/local/man/man1/pkg-config.1.gz /usr/ports/devel/pkg-config

I tried

/usr/ports/devel/pkg-config:make install clean
===>  Cleaning for gmake-3.81_3
===>  Cleaning for gettext-0.17_1
===>  Cleaning for libtool-1.5.26
===>  Cleaning for libiconv-1.13
===>  Cleaning for pkg-config-0.23_1


/usr/ports/devel/pkg-config:rehash

/usr/ports/devel/pkg-config:whereis pkg-config

pkg-config: /usr/ports/devel/pkg-config

As you can see in the listing below pkg-config is not listed as installed!

That's proberly the source of the install failure, so how do I get pkg-config to install?


---------------------------------------

checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for pkg-config... no
checking for XSETROOT... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XSETROOT_CFLAGS
and XSETROOT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to x...@freebsd.org [maintainer] and attach the
"/usr/ports/x11/xsetroot/work/xsetroot-1.0.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11/xsetroot.
*** Error code 1

Stop in /usr/ports/x11/xorg-apps.
*** Error code 1

Stop in /usr/ports/x11/xorg-apps.
*** Error code 1

Stop in /usr/ports/x11/xorg.
r...@blj01/usr/ports/x11/xorg:

------------------------------------------

-----------------------------------------

ll /var/db/pkg


total 25810
drwxr-xr-x  2 root  wheel       512 Jun 19 06:14 db43-4.3.29_1/
-rw-r--r--  1 root  wheel  26382336 Jun 18 20:19 pkgdb.db
drwxr-xr-x  2 root  wheel       512 Jun 19 06:05 portmaster-2.7/
drwxr-xr-x  2 root  wheel       512 Jun 19 06:14 portupgrade-2.4.6_2,2/
drwxr-xr-x  2 root  wheel       512 Jun 19 06:14 ruby-1.8.7.160_2,1/
drwxr-xr-x  2 root  wheel       512 Jun 19 06:14 ruby18-bdb43-0.6.5_1/
drwxr-xr-x  2 root  wheel       512 Jun 19 06:00 screen-4.0.3_6/
drwxr-xr-x  2 root  wheel       512 Jun 19 06:04 sudo-1.6.9.20/

--------------------------------------------


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xsetroot configure 1.0.2, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --x-libraries=/usr/local/lib --x-includes=/usr/local/include 
--prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ 
--build=i386-portbld-freebsd7.2

## --------- ##
## Platform. ##
## --------- ##

hostname = 
uname -m = i386
uname -r = 7.2-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1340: checking for a BSD-compatible install
configure:1395: result: /usr/bin/install -c -o root -g wheel
configure:1406: checking whether build environment is sane
configure:1449: result: yes
configure:1514: checking for gawk
configure:1543: result: no
configure:1514: checking for mawk
configure:1543: result: no
configure:1514: checking for nawk
configure:1530: found /usr/bin/nawk
configure:1540: result: nawk
configure:1550: checking whether make sets $(MAKE)
configure:1570: result: yes
configure:1738: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1747: result: no
configure:1772: checking if xorg-macros used to generate configure is at least 
1.1
configure:1787: result: yes, 1.1.5
configure:1837: checking for gcc
configure:1863: result: cc
configure:2107: checking for C compiler version
configure:2110: cc --version </dev/null >&5
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2113: $? = 0
configure:2115: cc -v </dev/null >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:2118: $? = 0
configure:2120: cc -V </dev/null >&5
cc: '-V' option must have argument
configure:2123: $? = 1
configure:2146: checking for C compiler default output file name
configure:2149: cc -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:2152: $? = 0
configure:2198: result: a.out
configure:2203: checking whether the C compiler works
configure:2209: ./a.out
configure:2212: $? = 0
configure:2229: result: yes
configure:2236: checking whether we are cross compiling
configure:2238: result: no
configure:2241: checking for suffix of executables
configure:2243: cc -o conftest -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:2246: $? = 0
configure:2271: result: 
configure:2277: checking for suffix of object files
configure:2298: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:2301: $? = 0
configure:2323: result: o
configure:2327: checking whether we are using the GNU C compiler
configure:2351: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:2357: $? = 0
configure:2361: test -z 
                         || test ! -s conftest.err
configure:2364: $? = 0
configure:2367: test -s conftest.o
configure:2370: $? = 0
configure:2383: result: yes
configure:2389: checking whether cc accepts -g
configure:2410: cc -c -g  conftest.c >&5
configure:2416: $? = 0
configure:2420: test -z 
                         || test ! -s conftest.err
configure:2423: $? = 0
configure:2426: test -s conftest.o
configure:2429: $? = 0
configure:2440: result: yes
configure:2457: checking for cc option to accept ANSI C
configure:2527: cc  -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:2533: $? = 0
configure:2537: test -z 
                         || test ! -s conftest.err
configure:2540: $? = 0
configure:2543: test -s conftest.o
configure:2546: $? = 0
configure:2564: result: none needed
configure:2582: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'me'
configure:2588: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2732: checking for style of include used by make
configure:2760: result: GNU
configure:2788: checking dependency style of cc
configure:2878: result: gcc3
configure:2908: checking for a BSD-compatible install
configure:2963: result: /usr/bin/install -c -o root -g wheel
configure:3024: checking for pkg-config
configure:3057: result: no
configure:3083: checking for XSETROOT
configure:3164: error: The pkg-config script could not be found or is too old.  
Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XSETROOT_CFLAGS
and XSETROOT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_XSETROOT_CFLAGS_set=''
ac_cv_env_XSETROOT_CFLAGS_value=''
ac_cv_env_XSETROOT_LIBS_set=''
ac_cv_env_XSETROOT_LIBS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd7.2
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_exeext=''
ac_cv_objext=o
ac_cv_prog_AWK=nawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=''
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_sys_max_cmd_len=262144

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run 
aclocal-1.9'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run tar'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AUTOCONF='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run 
autoconf'
AUTOHEADER='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run 
autoheader'
AUTOMAKE='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run 
automake-1.9'
AWK='nawk'
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -fno-strict-aliasing -pipe'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DRIVER_MAN_DIR=''
DRIVER_MAN_SUFFIX=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FILE_MAN_DIR=''
FILE_MAN_SUFFIX=''
INSTALL_DATA='install  -o root -g wheel -m 444'
INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install  -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LINT=''
LINT_FALSE=''
LINT_FLAGS=''
LINT_TRUE=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run 
makeinfo'
MISC_MAN_DIR=''
MISC_MAN_SUFFIX=''
OBJEXT='o'
PACKAGE='xsetroot'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='xsetroot'
PACKAGE_STRING='xsetroot 1.0.2'
PACKAGE_TARNAME='xsetroot'
PACKAGE_VERSION='1.0.2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0.2'
XSETROOT_CFLAGS=''
XSETROOT_LIBS=''
ac_ct_CC='cc'
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd7.2'
build_alias='i386-portbld-freebsd7.2'
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/local/info/'
install_sh='/usr/ports/x11/xsetroot/work/xsetroot-1.0.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
mkdir_p='$(SHELL) $(install_sh) -d'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "xsetroot"
#define PACKAGE_BUGREPORT 
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg";
#define PACKAGE_NAME "xsetroot"
#define PACKAGE_STRING "xsetroot 1.0.2"
#define PACKAGE_TARNAME "xsetroot"
#define PACKAGE_VERSION "1.0.2"
#define VERSION "1.0.2"

configure: exit 1
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to