Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge apradar fails [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Wed Mar 01, 2006 9:55 am    Post subject: Emerge apradar fails [SOLVED] Reply with quote

I am trying to get apradar to connect to my home AP using the airport 1 card but it fails with
Code:
>>> Emerging (1 of 1) net-wireless/apradar-0.52 to /
>>> checksums files   ;-) apradar-0.52.ebuild
>>> checksums files   ;-) files/apradar-0.52-endianness-fix.diff
>>> checksums files   ;-) files/digest-apradar-0.52
>>> checksums src_uri ;-) apradar-0.52.tar.gz
>>> Unpacking source...
>>> Unpacking apradar-0.52.tar.gz to /var/tmp/portage/apradar-0.52/work
 * Applying apradar-0.52-endianness-fix.diff ...                                                                                                               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/apradar-0.52/work/apradar-0.52 ...
now run ./configure and make
./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=powerpc-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
./configure: line 1683: src/Main.h: Permission denied
checking for /usr/include/gtkmm-2.0/gtkmm/window.h... yes
checking for /usr/include/iwlib.h... yes
checking for powerpc-unknown-linux-gnu-gcc... powerpc-unknown-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-unknown-linux-gnu-gcc accepts -g... yes
checking for powerpc-unknown-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc-unknown-linux-gnu-gcc... gcc3
checking for powerpc-unknown-linux-gnu-g++... powerpc-unknown-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-unknown-linux-gnu-g++ accepts -g... yes
checking dependency style of powerpc-unknown-linux-gnu-g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for powerpc-unknown-linux-gnu-ranlib... powerpc-unknown-linux-gnu-ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/var/tmp/portage/apradar-0.52/work/apradar-0.52/src'
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.cc' || echo './'`main.cc; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT AccessPoint.o -MD -MP -MF ".deps/AccessPoint.Tpo" \
  -c -o AccessPoint.o `test -f 'AccessPoint.cc' || echo './'`AccessPoint.cc; \
then mv -f ".deps/AccessPoint.Tpo" ".deps/AccessPoint.Po"; \
else rm -f ".deps/AccessPoint.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT Parent.o -MD -MP -MF ".deps/Parent.Tpo" \
  -c -o Parent.o `test -f 'Parent.cc' || echo './'`Parent.cc; \
then mv -f ".deps/Parent.Tpo" ".deps/Parent.Po"; \
else rm -f ".deps/Parent.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT NetworkInterface.o -MD -MP -MF ".deps/NetworkInterface.Tpo" \
  -c -o NetworkInterface.o `test -f 'NetworkInterface.cc' || echo './'`NetworkInterface.cc; \
then mv -f ".deps/NetworkInterface.Tpo" ".deps/NetworkInterface.Po"; \
else rm -f ".deps/NetworkInterface.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT Window.o -MD -MP -MF ".deps/Window.Tpo" \
  -c -o Window.o `test -f 'Window.cc' || echo './'`Window.cc; \
then mv -f ".deps/Window.Tpo" ".deps/Window.Po"; \
else rm -f ".deps/Window.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT AccessPointList.o -MD -MP -MF ".deps/AccessPointList.Tpo" \
  -c -o AccessPointList.o `test -f 'AccessPointList.cc' || echo './'`AccessPointList.cc; \
then mv -f ".deps/AccessPointList.Tpo" ".deps/AccessPointList.Po"; \
else rm -f ".deps/AccessPointList.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT Config.o -MD -MP -MF ".deps/Config.Tpo" \
  -c -o Config.o `test -f 'Config.cc' || echo './'`Config.cc; \
then mv -f ".deps/Config.Tpo" ".deps/Config.Po"; \
else rm -f ".deps/Config.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT ccode.o -MD -MP -MF ".deps/ccode.Tpo" \
  -c -o ccode.o `test -f 'ccode.cc' || echo './'`ccode.cc; \
then mv -f ".deps/ccode.Tpo" ".deps/ccode.Po"; \
else rm -f ".deps/ccode.Tpo"; exit 1; \
fi
if powerpc-unknown-linux-gnu-g++ -DPACKAGE_NAME=\"AP\ Radar\" -DPACKAGE_TARNAME=\"apradar\" -DPACKAGE_VERSION=\"0.52\" -DPACKAGE_STRING=\"AP\ Radar\ 0.52\" -DPACKAGE_BUGREPORT=\"donpdonp@users.sourceforge.net\" -DPACKAGE=\"apradar\" -DVERSION=\"0.52\"  -I. -I.    `pkg-config --cflags gtkmm-2.0 `  -mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden -MT Ipv4Address.o -MD -MP -MF ".deps/Ipv4Address.Tpo" \
  -c -o Ipv4Address.o `test -f 'Ipv4Address.cc' || echo './'`Ipv4Address.cc; \
then mv -f ".deps/Ipv4Address.Tpo" ".deps/Ipv4Address.Po"; \
else rm -f ".deps/Ipv4Address.Tpo"; exit 1; \
fi
Config.cc: In member function `void Config::saveConfigOptions()':
Config.cc:261: error: `errno' was not declared in this scope
make[1]: *** [Config.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/apradar-0.52/work/apradar-0.52/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-wireless/apradar-0.52 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

!!! compile of apradar failed
!!! If you need support, post the topmost build error, and the call stack if relevant


here is emerge --info
Code:
# emerge --info

Portage 2.1_pre5-r1 (default-linux/ppc/2005.1/ppc, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 ppc)
=================================================================
System uname: 2.6.15-gentoo-r5 ppc 750FX
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="ppc"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="powerpc-unknown-linux-gnu"
CCACHE_DIR="/root/.ccache"
CCACHE_SIZE="1G"
CFLAGS="-mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer"
CHOST="powerpc-unknown-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/rc.d /etc/terminfo /etc/wget /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-mcpu=750 -mtune=750 -O2 -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DESKTOP_SESSION="default"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--alphabetical --verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/ http://194.117.143.72 ftp://mir.zyrianes.net/gentoo/"
GS_LIB="/home/ali/.fonts"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/ali/.gtkrc-2.0:/home/ali/.kde3.5/share/config/gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/ali/.gtkrc:/home/ali/.kde3.5/share/config/gtkrc"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="macuzun"
INFOPATH="/usr/share/info:/usr/share/binutils-data/powerpc-unknown-linux-gnu/2.16.1/info:/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.5/info"
JAVAC="/opt/ibm-jdk-bin-1.4.2.04/bin/javac"
JAVA_HOME="/opt/ibm-jdk-bin-1.4.2.04"
JDK_HOME="/opt/ibm-jdk-bin-1.4.2.04"
KDEDIRS="/usr"
KDE_FULL_SESSION="true"
KDE_MULTIHEAD="false"
KERNEL="linux"
KONSOLE_DCOP="DCOPRef(konsole-7391,konsole)"
KONSOLE_DCOP_SESSION="DCOPRef(konsole-7391,session-1)"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en_GB"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/powerpc-unknown-linux-gnu/2.16.1/man:/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4.5/man:/usr/qt/3/doc/man"
OLDPWD="/home/ali"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="22528"
PORTAGE_NICENESS="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PWD="/usr/local/portage/net-wireless/apradar"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_EXCLUDEFROM="/etc/portage/package.excludes"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SESSION_MANAGER="local/macuzun:/tmp/.ICE-unix/7351"
SHELL="/bin/bash"
SHLVL="3"
STAGE1_USE="unicode"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USE="ppc # X a52 aalib acl alsa apm arts berkdb bidi bitmap-fonts bzip2 cdr cjk crypt cups dbus divx4linux dv dvd dvdread eds emboss examples faad fam fbcon fbdev ffmpeg firefox flash foomaticdb fortran ftp gcj gd gd-external gif glut gphoto2 gpm gstreamer gtk gtk2 hal howl ieee1394 imap imlib ipv6 java javascript jpeg junit kde kdeenablefinal kdexdeltas kerberos koffice-plugin ldap libwww live mad matroska ming motif mp3 mpeg mpi msn mysql nas ncurses network nfs nls nptl nsplugin odbc ogg oggvorbis opengl openssl pam pdf pdflib perl pic png ppds python qt quicktime readline rtc samba session slp source spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd videos vorbis wmf wxwinsows xine xml xml2 xmms xv xvid zlib zvbi elibc_glibc kernel_linux linguas_en_GB userland_GNU video_cards_radeon"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="radeon"
WINDOWID="33554437"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthV5kOE8"
XCURSOR_THEME="default"
XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
XDG_DATA_DIRS="/usr/kde/3.5/share:/usr/share"
XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

_________________
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714


Last edited by rojanu on Thu Mar 02, 2006 12:08 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Mar 01, 2006 3:43 pm    Post subject: Reply with quote

apradar isn't in portage, you should ask the apradar upstream to help you fix that.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Thu Mar 02, 2006 12:08 am    Post subject: Reply with quote

Needed to put
Code:
#include <errno.h>

at the top of Config.cc and emerged fine
_________________
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum