View previous topic :: View next topic |
Author |
Message |
SkyLeach Apprentice
Joined: 05 Nov 2002 Posts: 177 Location: Knoxville, TN
|
Posted: Thu Feb 03, 2005 4:40 pm Post subject: app-misc/twin-0.4.6 ebuild problems |
|
|
I've tried this on 3 machines, all with the same results.
When attempting to build Eterm for tab support (twin and screen support) I get the following error when building twin:
Code: |
gregory-gentoo mgregory # emerge eterm
Calculating dependencies ...done!
>>> emerge (1 of 3) app-misc/twin-0.4.6 to /
>>> Downloading http://######/mirrors/gentoo/distfiles/twin-0.4.6.tar.gz
--11:22:13-- http://######/mirrors/gentoo/distfiles/twin-0.4.6.tar.gz
=> `/usr/portage/distfiles/twin-0.4.6.tar.gz'
Resolving ######... 10.80.254.2
Connecting to ######[10.80.254.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,139,714 [application/x-tar]
100%[============================================================================>] 1,139,714 --.--K/s
11:22:13 (10.74 MB/s) - `/usr/portage/distfiles/twin-0.4.6.tar.gz' saved [1139714/1139714]
>>> md5 src_uri ;-) twin-0.4.6.tar.gz
>>> Unpacking source...
>>> Unpacking twin-0.4.6.tar.gz to /var/tmp/portage/twin-0.4.6/work
* Replacing obsolete head/tail with POSIX compliant ones
>>> Source unpacked.
* econf: updating twin-0.4.6/admin/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating twin-0.4.6/admin/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shlibs=yes --enable-modules=yes --enable-unicode=yes --enable-socket=yes --enable-socket-gz=yes --enable-socket-pthreads=yes --enable-socket-alien=yes --enable-h2-tty-termcap=yes --enable-term=yes --with-x --enable-hw-x11=yes --enable-hw-ggi=no --enable-tt-hw-gtk=yes --enable-hw-tty-linux=yes
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-mp -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon-mp -O3 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for OS... Linux
checking for shared library support... native
this system is Linux/FreeBSD with GNU C
assuming GNU C internally uses GNU ld
using native rules to create shared libraries
checking for ar... ar
checking for ranlib... ranlib
checking for working const... yes
checking for long long... yes
checking for inline... inline
checking for gcc-compatible 'static inline'... yes
checking for gcc-compatible 'attribute((const))'... yes
checking for gcc-compatible 'attribute((packed))'... yes
checking for gcc-compatible i386 assembler... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for crypt.h... yes
checking for dirent.h... yes
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for gpm.h... yes
checking for ggi/ggi.h... no
checking for limits.h... yes
checking for ltdl.h... yes
checking for memory.h... yes
checking for ncurses.h... yes
checking for ncurses/ncurses.h... no
checking for termcap.h... yes
checking for ncurses/termcap.h... no
checking for pthread.h... yes
checking for shadow.h... yes
checking for sys/filio.h... no
checking for sys/ioctl.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/timeb.h... yes
checking for sys/ttydefaults.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... (cached) yes
checking for asm/page.h... yes
checking for machine/param.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for zlib.h... yes
checking for uid_t in sys/types.h... yes
checking for gid_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking for 8-bit clean memcmp... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether setvbuf arguments are reversed... no
checking for ftime... yes
checking for gettimeofday... yes
checking for getspnam... yes
checking for hstrerror... yes
checking for initgroups... yes
checking for lstat... yes
checking for putenv... yes
checking for setenv... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for scandir... yes
checking for alphasort... yes
checking for uname... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for wait3... yes
checking for wait4... yes
checking for getpt... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for /dev/ptmx... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for lt_dlopen in -lltdl... yes
checking for socket... yes
checking for connect... yes
checking for gethostbyname... yes
checking for pthread_self... yes
checking for pthread_self in -lpthread... yes
checking for deflate in -lz... yes
checking for Gpm_Open in -lgpm... yes
checking for ggiOpen in -lggi... no
checking for tgetent in -lgpm... yes
checking for tgetent in -ltermcap... no
checking for tgetent in -lncurses... yes
checking for X... libraries , headers /usr/X11R6/include
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for gtk-config... yes
checking for gtk/gtk.h... yes
checking for gtk_init in -lgtk... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makeautoconf
creating conf/conf.auto
creating include/autoconf.h
Configuration:
Items in parenthesis (...) will be built as shared libraries/modules
Compiler: gcc
Compiler flags: -march=athlon-mp -O3 -pipe
Shared libraries support: native
Server features: socket (wm) (wm_rc) term term_devpts
Server HW drivers: (gfx) x11 (twin) (display) (tty)
Server hw_tty driver flags: linux twterm termcap
Libraries: (libTutf) (libTw) (libTT)
TT library HW targets: (twin) gtk (x11) (xml)
Install path: /usr/bin, /usr/lib/twin, /usr/share/twin
to show/change other configuration settings, you can run one of:
'./configure <options>', 'scripts/Configure.sh <options>',
'make config' or 'make menuconfig'
twin is now (hopefully) configured.
As next step, you probably want to run 'make'.
rm -f configure && autoconf --localdir=admin
autoconf-2.59: invalid option --localdir=admin
Try `autoconf-2.59 --help' for more information.
make: *** [configure] Error 1
!!! ERROR: app-misc/twin-0.4.6 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
_________________ -SL
http://www.skyleach.org |
|
Back to top |
|
|
bet1m l33t
Joined: 04 Dec 2004 Posts: 631 Location: Kosova/Prishtine
|
Posted: Thu Feb 03, 2005 6:24 pm Post subject: |
|
|
drop eterm, and use urxvt _________________ #370559 |
|
Back to top |
|
|
SkyLeach Apprentice
Joined: 05 Nov 2002 Posts: 177 Location: Knoxville, TN
|
Posted: Fri Feb 04, 2005 4:50 am Post subject: um... yeah.... |
|
|
Anyhow, I've found a bug related to this: 72425
I'm working on a patch to the Ebuild to fix it using autoupdate. Should be posted to bugs.gentoo.org sometime tomorrow as I'm beat. _________________ -SL
http://www.skyleach.org |
|
Back to top |
|
|
ewtrowbr Apprentice
Joined: 08 May 2004 Posts: 153 Location: Columbus, OH
|
|
Back to top |
|
|
SkyLeach Apprentice
Joined: 05 Nov 2002 Posts: 177 Location: Knoxville, TN
|
Posted: Wed Mar 09, 2005 4:47 am Post subject: Not really no... |
|
|
There isn't any 'official' way to do it. Technically it's supposed to be updated as soon as a dev gets time. My ebuilds and fixes have been sitting for a long time. I was hoping a dev would have picked them up by now.
But, here is what you can do: Make the directory in the PORTDIR_OVERLAY (defaults to /usr/local/portage) and then copy the ebuild I posted to that directory. You will need to manually create the files directory and download the patch file as well.
Code: |
mkdir -p /usr/local/portage/app-misc/twin/files
cd /usr/local/portage/app-misc/twin
wget -O twin-0.4.6-r1.ebuild http://bugs.gentoo.org/attachment.cgi?id=50744&action=view
cd files
wget -O twin-0.4.6-r1_makefile_update_gentoo.patch http://bugs.gentoo.org/attachment.cgi?id=50743&action=view
cd ..
ebuild digest twin-0.4.6-r1.ebuild
echo app-misc/twin ~x86 >> /etc/portage/package.keywords
|
Once you have downloaded all the files, you need to sign the package for install on your local machine. You will probably also need to add the package to /etc/portage/package.keywords since it's marked as a development package for now. To sign (digest) the package, you will need the gentoolkit-dev package.
you could probably cut & paste the code section above to do it. _________________ -SL
http://www.skyleach.org |
|
Back to top |
|
|
Mythos l33t
Joined: 02 May 2004 Posts: 953 Location: Portugal
|
Posted: Wed Mar 23, 2005 10:58 pm Post subject: |
|
|
Excelent tip, work for me in amd64 _________________ Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux |
|
Back to top |
|
|
krani1 Tux's lil' helper
Joined: 21 Jun 2004 Posts: 76
|
Posted: Wed Mar 30, 2005 1:55 pm Post subject: |
|
|
I'm wondering why this ebuild isn't in portage yet.... any dev waked up? |
|
Back to top |
|
|
murzzz n00b
Joined: 19 Mar 2004 Posts: 3 Location: Russia,Moscow
|
Posted: Thu May 12, 2005 7:06 am Post subject: |
|
|
Thanks, SkyLeach, worked for me well, but with some nuances:
I had to copy Manifest:
Code: | cp /usr/portage/app-misc/twin/Manifest \
/usr/local/portage/app-misc/twin/Manifest |
and another sequence of arguments in ebuild command:
Code: | ebuild twin-0.4.6-r1.ebuild digest |
_________________ counted Linux user 356672 |
|
Back to top |
|
|
|