Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165280

Summary: Ebuild request: Amaya web editor
Product: Gentoo Linux Reporter: Sebastian Morr <sebastian.morr>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: bob.paddock, bugs, bugzie, Burik666, darkdog8157, devinsteffler, isolderj, Jimmy.Jazz, lewis+gentoo, m.debruijne, ostroffjh, pariksheet.nanda, pchrist, rei4dan, shiriy.lyoha, skyleach, Tinitus1, voyageur, zhangweiwu
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.w3.org/Amaya/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: amaya-9.55.ebuild
amaya-9.99-r4.ebuild
amaya-10.0.1.ebuild
amaya-10.1_pre5.ebuild for ~x86 (possibly ~amd64?)
the patch to clean up most of the Makefile.in and configure.in problems.
fullsize of amaya running on gentoo x86
half-size full desktop screenshot w/ amaya
emerge --info
amaya-10.1_pre5 ebuild log
amaya-10.1_pre5 doesn't find the target bin/str
amaya-11.2_pre.ebuild
amaya-11.2_pre-r3.ebuild
amaya-11.2.ebuild
ebuild for Amaya-11.3.1
1 of 4 patches required by amaya-11.3.1 ebuild
2 of 4 patches required by amaya-11.3.1 ebuild
3 of 4 patches required by amaya-11.3.1 ebuild
4 of 4 patches required by amaya-11.3.1 ebuild
1 of 6 files/amaya-11.4.4-gzfile.patch
2 of 6 files/amaya-11.4.4-libpng15.patch
3 of 6 files/amaya-11.4.4-setgray.patch
4 of 6 files/amaya-11.4.4-socketbufsize.patch
5 of 6 files/amaya-11.4.4-wakeupidle.patch
6 of 6 files/amaya-11.4.4-wxyield.patch
amaya-11.4.4.ebuild

Description Sebastian Morr 2007-02-04 14:21:23 UTC
Amaya is a free WYSIWYG (X)HTML Editor developed by the W3C. It would be nice to have an ebuild.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-04 14:24:01 UTC
No, it's been removed for security Bug 129874 and lack of a maintainer.

http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/amaya/?hideattic=0
Comment 2 Emilien KIA 2007-07-13 07:11:16 UTC
Created attachment 124736 [details]
amaya-9.55.ebuild

Hello

This is an ebuild for the last release of Amaya (9.55).
As I use gentoo at home and as I am an amaya developper, I will intend to maintain it.

About this ebuild, amaya does not require to patch wxGTK on linux so I use the --enable-system-wx option in the configure.
Now, this ebuild doesnt look if the installed version of wxGTK is built in unicode mode (unicode use flag enable), I will lot for this soon.
Moreover, I dont know why the .desktop fil is not installed correctly.

Regards
Emilien
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-26 21:05:33 UTC
*** Bug 200422 has been marked as a duplicate of this bug. ***
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-01-13 12:13:55 UTC
Created attachment 140854 [details]
amaya-9.99-r4.ebuild

minor hacks to the ebuild to work with 9.99-r4 snapshot ( I think i've done the SRC_URI matcher wrong somehow, ie: not bump friendly, anyhow )

Works for me. 

Collides with app-misc/run-mailcap  in /usr/bin/print tho for some reason. 

AS-IS
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-02-16 05:47:08 UTC
to get around the collision with run-mailcap, hacking open the ebuild and commenting out the 'dosym' instruction should be suffice to fix the package collision. 
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 09:09:33 UTC
*** Bug 212688 has been marked as a duplicate of this bug. ***
Comment 7 Andrey Burov 2008-03-08 09:56:54 UTC
Created attachment 145531 [details]
amaya-10.0.1.ebuild
Comment 8 Bob Paddock 2008-04-03 23:51:30 UTC
(In reply to comment #7)
> Created an attachment (id=145531) [edit]
> amaya-10.0.1.ebuild

When I use the above ebuild I get the following,
any ideas?

gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -Wmissing-prototypes -O3 -g -fPIC  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include -std=c99 -ffast-math  x86/common_x86_asm.S -o x86/common_x86_asm.o
x86/common_x86_asm.S: Assembler messages:
x86/common_x86_asm.S:54: Error: suffix or operands invalid for `pushf'
x86/common_x86_asm.S:55: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:58: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:59: Error: suffix or operands invalid for `popf'
x86/common_x86_asm.S:60: Error: suffix or operands invalid for `pushf'
x86/common_x86_asm.S:61: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:77: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:78: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:91: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:92: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:101: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:105: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:114: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:119: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:128: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:133: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:142: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:147: Error: suffix or operands invalid for `pop'
x86/common_x86_asm.S:182: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:198: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:199: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:200: Error: suffix or operands invalid for `push'
x86/common_x86_asm.S:201: Error: suffix or operands invalid for `push'
distcc[28793] ERROR: compile (null) on localhost failed
make[4]: *** [x86/common_x86_asm.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/www-client/amaya-10.0.1/work/Amaya10.0/Amaya/obj/Mesa/src/mesa'
make[3]: *** [default] Error 2


emerge --info :
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-028stab053 x86_64)
=================================================================
System uname: 2.6.18-028stab053 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Unknown
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks keeptemp metadata-transfer noclean sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://192.168.0.129:8080 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/emacs /usr/portage/local/layman/science /usr/portage/local/layman/x11 /usr/portage/local/layman/plan9"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d acpi additions alsa amd64 apm arts aspell audacious avi berkdb bzip2 caps cli cracklib crypt cups curl cvs djvu dri emacs emoticon examples fbcon font-server gdbm gif gpm gs hal hddtemp iconv jpeg lame libwww lm_sensors midi mmx mp3 mpeg mudflap ncurses netpbm nls nptl nptlonly nsplugin nvidia opengl pam pcre perl pmu png pppd python qt3 quicktime readline reflection samba scanner screen sdk server session slang sound spell spl sse sse2 ssl svg svgz swat tcpd tiff truetype udev unicode usb utils vboxbfe vditool xcf xft xinetd xml xorg xosd xpm xterm xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 9 Todd Partridge 2008-04-05 05:19:53 UTC
I get that too Bob, it looks like this is assembly code.  Apparently amaya is x86 only.
Comment 10 Bob Paddock 2008-04-05 11:46:11 UTC
Yes and no, your comment got me to look at this more.  The
problem is that Amaya is including its own libraries rather than
using the ones on the system.  For example I already have Mesa
and several versions of wxWidgets built and running on this AMD64 box.

The problem is that the Mesa that comes with Amaya
is configured for the x86 by default.

This is what I did to get Amaya running on my AMD64:

ebuild amaya-10.0.1.ebuild unpack

cd /var/tmp/portage/www-client/amaya-10.0.1/work/Amaya10.0/Mesa
make realclean;make linux-x86-64;make

That gets the correct (use linux-dri-x86-64 instead?) Mesa built.  Then go back to the ebuild directory and do the compile/install/qmerge steps.

The Mesa-7.0.2.ebuild has this, could someone that knows
ebuild better than I do, added it to the Amaya ebuild please?:

	elif use amd64; then
		[[ ${ABI} == "amd64" ]] && CONFIG="linux-dri-x86-64"
		[[ ${ABI} == "x86" ]] && CONFIG="linux-dri-x86"

Now I have to go rebuild for linux-dri-x86-64 and see if that runs
on this box...
Comment 11 Zhang Weiwu 2008-06-17 06:50:10 UTC
hi. I just comment because I couldn't see from the context the reason not to include amaya in the portage (marked as wontfix).

The reason "security" and "lack of maintainer", does it still stand? The link referring to security problem link to a solved issue.

I remember I used amaya on Ubuntu/ppc which seems to suggest it can be compiled on multiple platforms. Can we expect a ppc port soon?
Comment 12 Ben de Groot (RETIRED) gentoo-dev 2008-09-11 00:44:46 UTC
*** Bug 237322 has been marked as a duplicate of this bug. ***
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2008-09-11 00:47:55 UTC
I'm reopening this. Bug 237322 has new ebuild and patches, which I recommended for inclusion in Sunrise first.
Comment 14 Matthew Gregory Sr. 2008-11-15 16:05:53 UTC
working on version bump to pre5 and testing today.  Hopefully I'll have all this finished early noon.
Comment 15 Zhang Weiwu 2008-11-15 16:25:38 UTC
Hi. Thanks very much for your work on solve this issue. However I am not sure of your "noon", are you an American?

anyway thanks. We need that piece of software in Gentoo:)
Comment 16 Matthew Gregory Sr. 2008-11-15 21:29:46 UTC
needs dav support in libwww
r7 ebuild for libwww does not have support for this
opened bug #246978
this bug should depend on that bug.  I'm past the harsh stuff and should have that resolved soon.
Comment 17 Matthew Gregory Sr. 2008-11-15 21:30:55 UTC
(In reply to comment #15)
> Hi. Thanks very much for your work on solve this issue. However I am not sure
> of your "noon", are you an American?
> 
> anyway thanks. We need that piece of software in Gentoo:)
> 

yeah, noon came and went a while ago.  I'm EST (-5 GMT) so it's 4:30pm here
Comment 18 Matthew Gregory Sr. 2008-11-16 02:51:15 UTC
ebuilds and patches for libwww-5.4.0-r8.ebuild (bug #246978) are ready for testing.

This resolves the issue where the ebuild failed on the libwww requirement due to the fact that the r7 build did not support the dav/webdav use flag.  It was a major PITA but that issue and several others are now resolved.

This opens the door for me to finish the ebuild for pre5.

I'm done coding the changes to the pre4 build (bug #237322) as-is and i'm testing it now.

Once testing on that is done I will bump to pre5 and then give oversite on the ebuild.
Comment 19 Matthew Gregory Sr. 2008-11-16 07:04:42 UTC
amaya's autoconf/automake files are an absolute mess.

 * amaya statically links against it's own copies of libwww, freetype, wxwidgets, mason, and redland.
 * amaya pretends to pull in system configurations, but then goes ahead and builds it's local copies and statically links against them.

I'm creating patchfiles that undo this garbage and really link against /usr/lib.  Of course this does require libwww r8 and takes a long time to test.
Comment 20 Matthew Gregory Sr. 2008-11-16 09:29:10 UTC
well, autoconf/automake are hacked all to bits by the patch, but it should be good to go for alpha testing on ~x86 and ~x64

I added re-reqs (PDEPENDS) for the stuff I know for certain will make it break, such as >=libwww-5.4.0-r8
dev-libs/expat
dev-libs/redland

I think I may have broken mesa in my autoconf hacking, but since nobody in their right mind runs software opengl I think that should be ok.  The reason behind this was that it brought in hard-coded mesa links as well as the hw opengl implementation (in my case nvidia) and bloated the code (plus I didn't have it installed and wanted to get on with testing)

kk, have fun guys.  bug the w3c guys about their code if you get a chance, 'cause... ehehehe...

Nice screenshot of this puppy running on my x86 stable machine (obviously Amaya and libwww are ~x86 as are most of my fonts, but the vast majority of packages on my sytem are x86 stable).
Comment 21 Matthew Gregory Sr. 2008-11-16 09:30:28 UTC
Created attachment 171947 [details]
amaya-10.1_pre5.ebuild for ~x86 (possibly ~amd64?)
Comment 22 Matthew Gregory Sr. 2008-11-16 09:31:52 UTC
Created attachment 171948 [details, diff]
the patch to clean up most of the Makefile.in and configure.in problems.
Comment 23 Matthew Gregory Sr. 2008-11-16 09:51:26 UTC
Created attachment 171951 [details]
fullsize of amaya running on gentoo x86
Comment 24 Matthew Gregory Sr. 2008-11-16 09:53:14 UTC
Created attachment 171953 [details]
half-size full desktop screenshot w/ amaya

half size of amaya + my desktop (fluxbox)
gregory-gentoo libwww # uname -a
Linux gregory-gentoo 2.6.25-gentoo-r8ttvn-matt #2 SMP Mon Nov 10 16:58:23 EST 2008 i686 Intel(R) Xeon(TM) CPU 3.20GHz GenuineIntel GNU/Linu
Comment 25 Jimmy.Jazz 2008-11-16 09:59:47 UTC
(In reply to comment #22)
> Created an attachment (id=171948) [edit]
> the patch to clean up most of the Makefile.in and configure.in problems.
> 

To make #237322 work with libdav i added 

# diff /usr/portage/net-libs/libwww/libwww-5.4.0-r7.ebuild libwww-5.4.0-r7.ebuild
19c19
< IUSE="mysql ssl"
---
> IUSE="mysql ssl dav"
51a52
> 		$(use_with dav) \

to libwww ebuild.


Comment 26 Matthew Gregory Sr. 2008-11-16 18:01:12 UTC
(In reply to comment #25)
> (In reply to comment #22)
> > Created an attachment (id=171948) [edit]
> > the patch to clean up most of the Makefile.in and configure.in problems.
> > 
> 
> To make #237322 work with libdav i added 
> 
> # diff /usr/portage/net-libs/libwww/libwww-5.4.0-r7.ebuild
> libwww-5.4.0-r7.ebuild
> 19c19
> < IUSE="mysql ssl"
> ---
> > IUSE="mysql ssl dav"
> 51a52
> > 		$(use_with dav) \
> 
> to libwww ebuild.
> 

check the r8 revision I mentioned above.  It handles this and a few others includes nicely.  More when I get more time to test.
Comment 27 Jimmy.Jazz 2008-11-16 19:22:12 UTC
(In reply to comment #26)

> 
> check the r8 revision I mentioned above.  It handles this and a few others
> includes nicely.  More when I get more time to test.
> 

It works on my x86_64 gentoo box with the pre4. Also, I couldn't get amaya-10.1_pre5 work even with or without all the flags set. Anyway, I'm glad to see it works on your gentoo. Nice job :).
Comment 28 Matthew Gregory Sr. 2008-11-16 20:17:32 UTC
(In reply to comment #27)
> (In reply to comment #26)
> 
> > 
> > check the r8 revision I mentioned above.  It handles this and a few others
> > includes nicely.  More when I get more time to test.
> > 
> 
> It works on my x86_64 gentoo box with the pre4. Also, I couldn't get
> amaya-10.1_pre5 work even with or without all the flags set. Anyway, I'm glad
> to see it works on your gentoo. Nice job :).
> 

please post your emerge --info and build.log so that I can improve the ebuild
Comment 29 Jimmy.Jazz 2008-11-17 19:55:23 UTC
Created attachment 172117 [details]
emerge --info
Comment 30 Jimmy.Jazz 2008-11-17 19:57:32 UTC
Created attachment 172119 [details]
amaya-10.1_pre5 ebuild log
Comment 31 Jimmy.Jazz 2008-11-17 20:07:41 UTC
(In reply to comment #28)

> 
> please post your emerge --info and build.log so that I can improve the ebuild
> 
Thx. 

See attachments above. 
Also, pre4 works only with dri disabled. Is it the case with pre5 too ?

amaya_bin[20213] general protection ip:7fe044c6de7d sp:7fff5f4fc950 error:0 in r300_dri.so[7fe044b2d000+29d000]
amaya_bin[28419]: segfault at 0 ip 00007ff00a61df90 sp 00007fff19361838 error 4 in libc-2.8.so[7ff00a5a2000+14b000]
Comment 32 Matthew Gregory Sr. 2008-11-17 22:29:33 UTC
(In reply to comment #31)
> (In reply to comment #28)
> 
> > 
> > please post your emerge --info and build.log so that I can improve the ebuild
> > 
> Thx. 
> 
> See attachments above. 
> Also, pre4 works only with dri disabled. Is it the case with pre5 too ?
> 
> amaya_bin[20213] general protection ip:7fe044c6de7d sp:7fff5f4fc950 error:0 in
> r300_dri.so[7fe044b2d000+29d000]
> amaya_bin[28419]: segfault at 0 ip 00007ff00a61df90 sp 00007fff19361838 error 4
> in libc-2.8.so[7ff00a5a2000+14b000]
> 
apparently not since I am running with dri enabled.  I have noticed display issues that are annoying but not critical (workarounds include not dragging other windows over amaya unless you want to force a redraw by either minimizing or tabbing off of the current page).

I'll check your build logs and come back when I have something.
Comment 33 Matthew Gregory Sr. 2008-11-17 23:09:36 UTC
---> Use system Mesa library
./configure: line 14227: ../../wxWidgets: No such file or directory
./configure: line 14229: cd: ../../wxWidgets: No such file or directory
./configure: line 14231: cd: OLDPWD not set
configure: error: wxWidgets library sources not found. Please download wxWidgets sources (http://www.wxwidgets.org/)

^^ confirmed. removing wxwidgets use flag, pulling in wxwidgets.eclass, adding to RDEPENDS and forcing --with-system-wx

eselect-wxwidgets potential issue: incompatable wxwidgets library selected by user.  wxwidgets.eclass should handle this for me so that I can just point at the wxwidgeths I want to use with the --with-wxsrcdir= configure option.  Hopefully I can get it to work without further patches.
Comment 34 Matthew Gregory Sr. 2008-11-17 23:32:35 UTC
another bug confirmed: --with-mesa breaks the build.  I'll check on this too.
Comment 35 Jimmy.Jazz 2008-11-17 23:49:13 UTC
Created attachment 172141 [details]
amaya-10.1_pre5 doesn't find the target bin/str
Comment 36 Jimmy.Jazz 2008-11-17 23:58:44 UTC
(In reply to comment #34)
> another bug confirmed: --with-mesa breaks the build.  I'll check on this too.
> 
 
It is a bit late tonight and i'm not sure if the log above is really relevant. Anyway here it is. I really don't want you to be under pressure ;)

FYI i'm using the last mesa git code.

Thx.
Comment 37 orangeluna 2008-11-28 20:06:20 UTC
amaya_10.1_pre5 requires wxwidgets:

./configure: line 14227: ../../wxWidgets: No such file or directory             
./configure: line 14229: cd: ../../wxWidgets: No such file or directory         
./configure: line 14231: cd: OLDPWD not set                                     
configure: error: wxWidgets library sources not found. Please download wxWidgets sources (http://www.wxwidgets.org/)                                            
./configure: line 14238: exit: or: numeric argument required                    
./configure: line 14238: exit: or: numeric argument required
Comment 38 orangeluna 2008-11-28 20:19:44 UTC
hmm enabled wxwindows and now I get this:

config.status: creating davlib/Makefile                                         
config.status: creating bin/amaya                                               
config.status: creating config.h                                                
config.status: executing default commands                                       
WARNING : -rwxr-xr-x 1 root root 229 Nov 28 14:12 bin/amaya                     
Amaya configured                                                                
Amaya configured with libWWW (local source)                                     
Amaya configured with SVG support                                               
Amaya configured with templates support                                         
Amaya configured with generic XML support                                       
Amaya configured with internationalization support                              
Amaya configured with OpenGL Canvas Rendering (System library) (experimental)   
Amaya configured with WebDAV support                                            
Amaya configured with wxWidgets {srcdir=}                                       

Now type "make" (GNU make preferably) to build the binaries

make -j3 
Makefile:11: Options: No such file or directory
/bin/cp Options.orig Options                   
make: *** No rule to make target `bin/str', needed by `amaya_prog'.  Stop.
make: *** Waiting for unfinished jobs....                                 
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/tools/mkdep'                                                           
i686-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -I../../ -c ../../../tools/mkdep/mkdep.c -o mkdep.o                                                        
i686-pc-linux-gnu-g++  -o mkdep mkdep.o                                         
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/tools/mkdep' 


emerged with these options:

[ebuild  N    ] app-editors/amaya-10.1_pre5  USE="opengl unicode wxwindows -debug -gtk -libwww -mesa -raptor -webdav" 0 kB [1]

emerging with theseoptions:

USE="-opengl wxwindows gtk webdav libwww" emerge amaya

got the same error
Comment 39 Michael Metsger 2008-12-14 04:39:45 UTC
(In reply to comment #38)
> make -j3 
> Makefile:11: Options: No such file or directory
> /bin/cp Options.orig Options                   
> make: *** No rule to make target `bin/str', needed by `amaya_prog'.  Stop.
> make: *** Waiting for unfinished jobs....                                 
> make[1]: Entering directory
> `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/tools/mkdep'       
> i686-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -I../../ -c
> ../../../tools/mkdep/mkdep.c -o mkdep.o                                         
> i686-pc-linux-gnu-g++  -o mkdep mkdep.o                                         
> make[1]: Leaving directory
> `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/tools/mkdep' 
> 

Need to build with make -j1
Comment 40 Michael Metsger 2008-12-14 04:53:17 UTC
Try this: LC_ALL="C" USE="gtk libwww webdav wxwindows raptor" emerge -vuND amaya
and get this:

make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj'
echo "make libwww: Not in gentoo"
make libwww: Not in gentoo
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj'
(if test "../../amaya" != "" -a "../../amaya" != "." ; then \
	    /bin/cp ../../amaya/MathML.A .  ; \
	    /bin/cp ../../amaya/MathML.STR .  ; \
	fi)
THOTDIR=../.. ; export THOTDIR ; \
	../bin/app -D_UNIX   -DXML_GENERIC -D_GL -D_WX -DTEMPLATES   -D_SVG  -DTEMPLATES  -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS MathML.A
(if test "../../amaya" != "" -a "../../amaya" != "." ; then \
	    /bin/cp ../../amaya/SVG.A .  ; \
	    /bin/cp ../../amaya/SVG.STR .  ; \
	fi)
THOTDIR=../.. ; export THOTDIR ; \
	../bin/app -D_UNIX   -DXML_GENERIC -D_GL -D_WX -DTEMPLATES   -D_SVG  -DTEMPLATES  -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS SVG.A
(if test "../../amaya" != "" -a "../../amaya" != "." ; then \
	    /bin/cp ../../amaya/Timeline.A .  ; \
	    /bin/cp ../../amaya/Timeline.STR .  ; \
	fi)
THOTDIR=../.. ; export THOTDIR ; \
	../bin/app -D_UNIX   -DXML_GENERIC -D_GL -D_WX -DTEMPLATES   -D_SVG  -DTEMPLATES  -DANNOTATIONS -DDAV -DHT_DAV -DXML_DTD -DXML_NS Timeline.A
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/annotlib'
Makefile:19: *** commands commence before first target.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/annotlib'
make[1]: *** [amaya_annot_schemas] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-10.1_pre5/work/Amaya/obj/amaya'
make: *** [amaya_prog] Error 2
Comment 41 keenblade 2009-01-13 16:40:07 UTC
amaya-11.0 is out. But the patch fails (amaya-10.1_pre5-autoconf-gentoo.patch). Can someone update the patch?
Comment 42 R. May 2009-02-14 15:36:25 UTC
Hello,

I also would be happy about a new ebuild.

Regards Roland
Comment 43 keenblade 2009-03-27 12:17:16 UTC
Created attachment 186420 [details]
amaya-11.2_pre.ebuild

Actually this is the example ebuild at the amaya web site. It works fine without any patch. Probably it uses some internal dependencies, not the ones portage provides (libwww?). Until someone creates an ebuild more gentoo way, we can use this.
Comment 44 Royce Bedbury 2009-04-03 04:27:24 UTC
(In reply to comment #43)
> Created an attachment (id=186420) [edit]
> amaya-11.2_pre.ebuild
> 
> Actually this is the example ebuild at the amaya web site. It works fine
> without any patch. Probably it uses some internal dependencies, not the ones
> portage provides (libwww?). Until someone creates an ebuild more gentoo way, we
> can use this.
> 
build doesn't work for me

System is x86_64. Build log is WAY too long and full of errors to attach. I was using ~amd64 gcc so I'm going to try again with gcc 4.1.(whatever)


Comment 45 keenblade 2009-04-03 19:26:47 UTC
(In reply to comment #44)
> (In reply to comment #43)
> > Created an attachment (id=186420) [edit]
> > amaya-11.2_pre.ebuild
> > 
> build doesn't work for me
> 
> System is x86_64. Build log is WAY too long and full of errors to attach. I was
> using ~amd64 gcc so I'm going to try again with gcc 4.1.(whatever)
> 
I emerged it again successfully. My ~amd64 system uses x86_64 gcc-4.3.3 glibc-2.9_p20081201-r2 Portage 2.2_rc28 bash-4.0_p10-r1
Comment 46 Royce Bedbury 2009-04-04 20:12:16 UTC
(In reply to comment #45)
> (In reply to comment #44)
> > (In reply to comment #43)
> > > Created an attachment (id=186420) [edit]
> > > amaya-11.2_pre.ebuild
> > > 
> > build doesn't work for me
> > 
> > System is x86_64. Build log is WAY too long and full of errors to attach. I was
> > using ~amd64 gcc so I'm going to try again with gcc 4.1.(whatever)
> > 
> I emerged it again successfully. My ~amd64 system uses x86_64 gcc-4.3.3
> glibc-2.9_p20081201-r2 Portage 2.2_rc28 bash-4.0_p10-r1
> 

Still doesn't work for me...I have time on my hands so I'm going to emerge -e world with slightly different CFLAGS (I just realized that -Os got in there some how and it might be breaking something on me). I'll post my results tomorrow.
Comment 47 Zhang Weiwu 2009-04-07 05:01:48 UTC
I tried amaya-11.2_pre.ebuild and it failed with me with 37MB of error message. I can attach the compressed build.log (from 37MB down to bzipped 885KB)to this tracker if requested.

I am using ppc with -j1
Comment 48 keenblade 2009-05-19 13:13:28 UTC
Created attachment 191775 [details]
amaya-11.2_pre-r3.ebuild

amaya 11.2-pre3 is released. Compiles fine here. I fixed SRC_URI which pulled wrong version. Hope that will work for you.
Comment 49 Jacek Szafarkiewicz 2009-10-10 15:38:56 UTC
Created attachment 206675 [details]
amaya-11.2.ebuild

Little bit updated ebuild, but I still don't know how to install amaya to /usr/share/...
Comment 50 fuzion 2009-10-18 11:45:11 UTC
(In reply to comment #49)
> Created an attachment (id=206675) [details]
> amaya-11.2.ebuild
> 
> Little bit updated ebuild, but I still don't know how to install amaya to
> /usr/share/...
> 

The ebuild is not working on my amd64 system. The reason and fix can be found here:
http://lists.w3.org/Archives/Public/www-amaya/2009OctDec/0001.html
http://www.w3.org/Amaya/User/Autoconf.html

"If you are compiling on 64-bit platform, you have to change the current Mesa configuration file:
In the source directory Mesa/configs/ overwrite the current file with a copy of linux-x86-64-static (or a more appropriated configuration file)."

I would fix this myself but I don't know the best approach to do so for ebuilds. i.e. can the fix go in the ebuild itself or is a patch required? How can you check if it's a 64 bit system (and as such, apply the fix)?

Let me know if you can get this going for 64 bit systems.
Comment 51 Alexey 2010-01-18 23:21:46 UTC
amaya-11.2.ebuild not work for me.
I try to compile 11.3.1 version, it was the same error.
I change `set dummy wx-config; ac_word=$2` to `set dummy wx-config-2.8; ac_word=$2` in configure script and it's was OK. but compilation stop with error later:
$ LANG="C" make 2>&1 | tee error.log
make[1]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools'
make[2]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/mkdep'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/mkdep'
make[2]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/cextract-1.7'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/cextract-1.7'
make[1]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools'
make[1]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
make[1]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
make[1]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/batch'
make[2]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
make[2]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
make[1]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/batch'
make[1]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/amaya'
make[2]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
make[2]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
make[2]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
make[2]: Nothing to be done for `libAnnotSchemas'.
make[2]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
make[2]: Entering directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
make[2]: Nothing to be done for `libAnnot'.
make[2]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
g++  -o ../bin/amaya_bin wxdialog/AuthentDlgWX.o wxdialog/CheckedListDlgWX.o wxdialog/CreateTableDlgWX.o wxdialog/DocInfoDlgWX.o wxdialog/FontDlgWX.o wxdialog/HRefDlgWX.o wxdialog/ImageDlgWX.o wxdialog/InitConfirmDlgWX.o wxdialog/ListBoxBook.o wxdialog/ListDlgWX.o wxdialog/ListEditDlgWX.o wxdialog/ListNSDlgWX.o wxdialog/MakeIdDlgWX.o wxdialog/MetaDlgWX.o wxdialog/ObjectDlgWX.o wxdialog/OpenDocDlgWX.o wxdialog/PreferenceDlgWX.o wxdialog/PrintDlgWX.o wxdialog/SaveAsDlgWX.o wxdialog/SearchDlgWX.o wxdialog/SelectOperatorDlgWX.o wxdialog/SelectFenceAttributesDlgWX.o wxdialog/SelectIntegralDlgWX.o wxdialog/SpellCheckDlgWX.o wxdialog/SendByMailDlgWX.o wxdialog/StyleDlgWX.o wxdialog/StyleListToolPanel.o wxdialog/TitleDlgWX.o wxdialogapi.o EDITORAPP.o HTMLAPP.o TextFileAPP.o XLinkAPP.o XMLAPP.o AHTURLTools.o EDITORactions.o EDITimage.o EDITstyle.o HTMLactions.o HTMLbook.o HTMLedit.o HTMLform.o HTMLhistory.o HTMLimage.o HTMLpresentation.o HTMLsave.o HTMLtable.o html2thot.o init.o insertelem.o MENUconf.o XLinkbuilder.o XLinkedit.o templates.o trans.o transparse.o UIcss.o Xml2thot.o Xmlbuilder.o XHTMLbuilder.o XPointer.o XPointerparse.o  AHTBridge.o AHTFWrite.o answer.o query.o AHTMemConv.o AHTInit.o anim.o animbuilder.o SVGAPP.o SVGbuilder.o SVGedit.o TimelineAPP.o MathMLAPP.o MathMLbuilder.o Mathedit.o Mathedit_parser.o    TemplateAPP.o Templatebuilder.o templateDeclarations.o templateInstantiate.o templateLoad.o templateUtils.o libCSS.a ../annotlib/libAnnot.a    -L../thotlib -L.. -lThotEditor    -lraptor  -Wl,-rpath,usr/lib -L/usr/lib -lGL -lGLU  -lfreetype -lz  -L/usr/lib -lwwwsql -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto -pthread -Wl,-O1  -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_gtk2u_gl-2.8 -lwx_baseu-2.8  
query.o: In function `QueryClose()':
query.c:(.text+0x150b): undefined reference to `HTSSLhttps_terminate'
query.o: In function `QueryInit()':
query.c:(.text+0x4813): undefined reference to `HTSSL_protMethod_set'
query.c:(.text+0x481f): undefined reference to `HTSSL_verifyDepth_set'
query.c:(.text+0x482b): undefined reference to `HTSSLhttps_init'
collect2: ld returned 1 exit status
make[1]: *** [../bin/amaya_bin] Error 1
make[1]: Leaving directory `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/amaya'
make: *** [amaya_prog] Error 2
Comment 52 tekwyzrd 2010-06-03 03:43:35 UTC
It would be nice if someone would make this available in portage. I find it very disappointing that there are still no good wysiwyg editors available.
Comment 53 SpanKY gentoo-dev 2010-06-10 05:28:07 UTC
note that the `print` installed into $PATH is wrong and can break things like in Bug 321759.  so that will need to be fixed before it can be added to the tree.
Comment 54 Jack 2010-06-16 21:58:42 UTC
I just tried (on amd64) compiling 11.3.1 with the ebuild from the amaya site, and it eventually failed compiling wxWidgets/src/gtk/gsockgtk.cpp.

The immediate error (trimming the work directory) seems to be:
.../portage/www-client/amaya-11.3.1/work/wxWidgets/include/wx/gsocket.h:40: error: using typedef-name 'GSocket' after 'class'
/usr/include/glib-2.0/gio/giotypes.h:120: error: 'GSocket' has a previous declaration here
In file included from .../portage/www-client/amaya-11.3.1/work/wxWidgets/include/wx/gsocket.h:180,
                 from .../portage/www-client/amaya-11.3.1/work/wxWidgets/src/gtk/gsockgtk.cpp:22:

Will posting more of the log and emerge --info be of any help?  I'd really love to see this working.
Comment 55 Stephen Lewis 2010-07-07 19:41:02 UTC
I have been able to build and run Amaya 11.3.1 successfully on Powerpc64
and Alpha using the ebuild and patches attached.
But first it is necessary to fix 'libwww-config' for bug 327377.
I know nothing of security issues mentioned and I have not tried either x86
or AMD64. Even if it is not in portage I hope this helps someone. 
Comment 56 Stephen Lewis 2010-07-07 19:43:28 UTC
Created attachment 237945 [details]
ebuild for Amaya-11.3.1

This ebuild has only been tested on ppc64 and alpha.
Comment 57 Stephen Lewis 2010-07-07 19:45:30 UTC
Created attachment 237947 [details]
1 of 4 patches required by amaya-11.3.1 ebuild
Comment 58 Stephen Lewis 2010-07-07 19:46:12 UTC
Created attachment 237949 [details]
2 of 4 patches required by amaya-11.3.1 ebuild
Comment 59 Stephen Lewis 2010-07-07 19:46:54 UTC
Created attachment 237951 [details]
3 of 4 patches required by amaya-11.3.1 ebuild
Comment 60 Stephen Lewis 2010-07-07 19:47:37 UTC
Created attachment 237953 [details]
4 of 4 patches required by amaya-11.3.1 ebuild
Comment 61 Stephen Lewis 2010-07-07 19:55:04 UTC
(In reply to comment #51)
> amaya-11.2.ebuild not work for me.
> I try to compile 11.3.1 version, it was the same error.
> I change `set dummy wx-config; ac_word=$2` to `set dummy wx-config-2.8;
> ac_word=$2` in configure script and it's was OK. but compilation stop with
> error later:
> $ LANG="C" make 2>&1 | tee error.log
> make[1]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools'
> make[2]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/mkdep'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/mkdep'
> make[2]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/cextract-1.7'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools/cextract-1.7'
> make[1]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/tools'
> make[1]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
> make[1]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
> make[1]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/batch'
> make[2]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
> make[2]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
> make[1]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/batch'
> make[1]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/amaya'
> make[2]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
> make[2]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/thotlib'
> make[2]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
> make[2]: Nothing to be done for `libAnnotSchemas'.
> make[2]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
> make[2]: Entering directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
> make[2]: Nothing to be done for `libAnnot'.
> make[2]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/annotlib'
> g++  -o ../bin/amaya_bin wxdialog/AuthentDlgWX.o wxdialog/CheckedListDlgWX.o
> wxdialog/CreateTableDlgWX.o wxdialog/DocInfoDlgWX.o wxdialog/FontDlgWX.o
> wxdialog/HRefDlgWX.o wxdialog/ImageDlgWX.o wxdialog/InitConfirmDlgWX.o
> wxdialog/ListBoxBook.o wxdialog/ListDlgWX.o wxdialog/ListEditDlgWX.o
> wxdialog/ListNSDlgWX.o wxdialog/MakeIdDlgWX.o wxdialog/MetaDlgWX.o
> wxdialog/ObjectDlgWX.o wxdialog/OpenDocDlgWX.o wxdialog/PreferenceDlgWX.o
> wxdialog/PrintDlgWX.o wxdialog/SaveAsDlgWX.o wxdialog/SearchDlgWX.o
> wxdialog/SelectOperatorDlgWX.o wxdialog/SelectFenceAttributesDlgWX.o
> wxdialog/SelectIntegralDlgWX.o wxdialog/SpellCheckDlgWX.o
> wxdialog/SendByMailDlgWX.o wxdialog/StyleDlgWX.o wxdialog/StyleListToolPanel.o
> wxdialog/TitleDlgWX.o wxdialogapi.o EDITORAPP.o HTMLAPP.o TextFileAPP.o
> XLinkAPP.o XMLAPP.o AHTURLTools.o EDITORactions.o EDITimage.o EDITstyle.o
> HTMLactions.o HTMLbook.o HTMLedit.o HTMLform.o HTMLhistory.o HTMLimage.o
> HTMLpresentation.o HTMLsave.o HTMLtable.o html2thot.o init.o insertelem.o
> MENUconf.o XLinkbuilder.o XLinkedit.o templates.o trans.o transparse.o UIcss.o
> Xml2thot.o Xmlbuilder.o XHTMLbuilder.o XPointer.o XPointerparse.o  AHTBridge.o
> AHTFWrite.o answer.o query.o AHTMemConv.o AHTInit.o anim.o animbuilder.o
> SVGAPP.o SVGbuilder.o SVGedit.o TimelineAPP.o MathMLAPP.o MathMLbuilder.o
> Mathedit.o Mathedit_parser.o    TemplateAPP.o Templatebuilder.o
> templateDeclarations.o templateInstantiate.o templateLoad.o templateUtils.o
> libCSS.a ../annotlib/libAnnot.a    -L../thotlib -L.. -lThotEditor    -lraptor 
> -Wl,-rpath,usr/lib -L/usr/lib -lGL -lGLU  -lfreetype -lz  -L/usr/lib -lwwwsql
> -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet
> -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir
> -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz
> -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto -pthread -Wl,-O1 
> -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8
> -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_gtk2u_gl-2.8 -lwx_baseu-2.8  
> query.o: In function `QueryClose()':
> query.c:(.text+0x150b): undefined reference to `HTSSLhttps_terminate'
> query.o: In function `QueryInit()':
> query.c:(.text+0x4813): undefined reference to `HTSSL_protMethod_set'
> query.c:(.text+0x481f): undefined reference to `HTSSL_verifyDepth_set'
> query.c:(.text+0x482b): undefined reference to `HTSSLhttps_init'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/amaya_bin] Error 1
> make[1]: Leaving directory
> `/home/szver/Desktop/ebuilds/amaya/Amaya/linux/amaya'
> make: *** [amaya_prog] Error 2
> 

this error is caused because '-lwwwssl' is not linked, and the reason
is explained in bug 327377
Comment 62 Jack 2010-07-08 19:24:56 UTC
After rebuilding libwww with the patch mentioned in bug 327377, this ebuild worked fine for me on amd64.
Comment 63 Alexey 2010-07-09 22:51:27 UTC
After rebuild net-libs/libwww-5.4.0-r7 with http://bugs.gentoo.org/show_bug.cgi?id=327377 and http://bugs.gentoo.org/show_bug.cgi?id=318739 Amaya-11.3.1 with this 4 patches compiles & work on x86.
Maybe someone add amaya-11.3.1.ebuild in portage.
Comment 64 DaggyStyle 2010-07-20 21:00:40 UTC
11.3.1 fails on my comp with alot of errors which are because a file is missing:
>>> Compiling source in /var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF ...
Makefile:11: Options: No such file or directory
/bin/cp Options.orig Options
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
x86_64-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -I../../ -c ../../../tools/mkdep/mkdep.c -o mkdep.o
x86_64-pc-linux-gnu-g++  -o mkdep mkdep.o
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools'
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
Makefile:40: .depends: No such file or directory
../../tools/mkdep/mkdep -relative -vpath ../../../tools/cextract-1.7  ../../../tools/cextract-1.7/*.c  > .depends
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
x86_64-pc-linux-gnu-g++ -x c '-DCPP="'"x86_64-pc-linux-gnu-gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/parse.c -o parse.o
x86_64-pc-linux-gnu-g++ -x c '-DCPP="'"x86_64-pc-linux-gnu-gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/main.c -o main.o
x86_64-pc-linux-gnu-g++ -x c '-DCPP="'"x86_64-pc-linux-gnu-gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/io.c -o io.o
x86_64-pc-linux-gnu-g++  -o ../../bin/cextract parse.o main.o io.o -ldl  -lm
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools'
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
Makefile:66: .depends: No such file or directory
../tools/mkdep/mkdep -relative -vpath ../../thotlib -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f       -I/usr/include/freetype2  ../../thotlib/*/*.c ../../thotlib/*/*.cpp  > .depends
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
x86_64-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f       -I/usr/include/freetype2  -c ../../thotlib/base/AmayaAppInstance.cpp -o base/AmayaAppInstance.o
In file included from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/internals/h/AmayaAppInstance.h:6:19: error: wx/wx.h: No such file or directory
../../thotlib/internals/h/AmayaAppInstance.h:7:20: error: wx/ipc.h: No such file or directory
../../thotlib/internals/h/AmayaAppInstance.h:8:25: error: wx/snglinst.h: No such file or directory
In file included from ../../thotlib/internals/h/AmayaAppInstance.h:10,
                 from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/include/AmayaApp.h:7:20: error: wx/app.h: No such file or directory
../../thotlib/include/AmayaApp.h:8:24: error: wx/strconv.h: No such file or directory
../../thotlib/include/AmayaApp.h:9:25: error: wx/imaglist.h: No such file or directory
../../thotlib/include/AmayaApp.h:12:27: error: wx/glcanvas.h: No such file or directory
../../thotlib/base/AmayaAppInstance.cpp:20:25: error: wx/filename.h: No such file or directory
In file included from ../../thotlib/internals/h/AmayaAppInstance.h:10,
                 from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/include/AmayaApp.h:28: error: expected class-name before ‘{’ token
../../thotlib/include/AmayaApp.h:32: error: ‘wxEvent’ has not been declared
../../thotlib/include/AmayaApp.h:42: error: ISO C++ forbids declaration of ‘wxImageList’ with no type
../../thotlib/include/AmayaApp.h:42: error: expected ‘;’ before ‘*’ token
../../thotlib/include/AmayaApp.h:44: error: ‘wxIcon’ does not name a type
../../thotlib/include/AmayaApp.h:55: error: ISO C++ forbids declaration of ‘DECLARE_EVENT_TABLE’ with no type
../../thotlib/include/AmayaApp.h:56: error: expected ‘;’ before ‘virtual’
../../thotlib/include/AmayaApp.h:58: error: ‘wxIdleEvent’ has not been declared
../../thotlib/include/AmayaApp.h:59: error: ‘wxKeyEvent’ has not been declared
../../thotlib/include/AmayaApp.h:60: error: ‘wxKeyEvent’ has not been declared
../../thotlib/include/AmayaApp.h:79: error: ISO C++ forbids declaration of ‘wxImageList’ with no type
../../thotlib/include/AmayaApp.h:79: error: expected ‘;’ before ‘*’ token
../../thotlib/include/AmayaApp.h:80: error: ‘wxIcon’ does not name a type
In file included from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/internals/h/AmayaAppInstance.h:12: error: expected constructor, destructor, or type conversion before ‘class’
../../thotlib/internals/h/AmayaAppInstance.h:21: error: ISO C++ forbids declaration of ‘wxString’ with no type
../../thotlib/internals/h/AmayaAppInstance.h:21: error: expected ‘,’ or ‘...’ before ‘&’ token
../../thotlib/internals/h/AmayaAppInstance.h:29: error: ‘wxString’ does not name a type
../../thotlib/internals/h/AmayaAppInstance.h:31: error: ISO C++ forbids declaration of ‘AmayaURLGrabberServer’ with no type
../../thotlib/internals/h/AmayaAppInstance.h:31: error: expected ‘;’ before ‘*’ token
../../thotlib/internals/h/AmayaAppInstance.h:32: error: ‘wxString’ does not name a type
../../thotlib/internals/h/AmayaAppInstance.h:33: error: ‘wxString’ does not name a type
../../thotlib/internals/h/AmayaAppInstance.h:34: error: ‘wxString’ does not name a type
../../thotlib/internals/h/AmayaAppInstance.h:39: error: expected class-name before ‘{’ token
../../thotlib/internals/h/AmayaAppInstance.h:41: error: expected ‘)’ before ‘&’ token
../../thotlib/internals/h/AmayaAppInstance.h:43: error: ISO C++ forbids declaration of ‘wxString’ with no type
../../thotlib/internals/h/AmayaAppInstance.h:43: error: expected ‘,’ or ‘...’ before ‘&’ token
../../thotlib/internals/h/AmayaAppInstance.h:45: error: ISO C++ forbids declaration of ‘AmayaURLGrabberServer’ with no type
../../thotlib/internals/h/AmayaAppInstance.h:45: error: expected ‘;’ before ‘&’ token
../../thotlib/internals/h/AmayaAppInstance.h:49: error: expected class-name before ‘{’ token
../../thotlib/internals/h/AmayaAppInstance.h:53: error: ISO C++ forbids declaration of ‘wxString’ with no type
../../thotlib/internals/h/AmayaAppInstance.h:53: error: expected ‘,’ or ‘...’ before ‘&’ token
../../thotlib/internals/h/AmayaAppInstance.h:60: error: ISO C++ forbids declaration of ‘wxConnectionBase’ with no type
../../thotlib/internals/h/AmayaAppInstance.h:60: error: expected ‘;’ before ‘*’ token
../../thotlib/internals/h/AmayaAppInstance.h:67: error: expected ‘;’ before ‘protected’
../../thotlib/internals/h/AmayaAppInstance.h:68: error: ‘wxString’ does not name a type
../../thotlib/internals/h/AmayaAppInstance.h: In constructor ‘AmayaURLGrabberServer::AmayaURLGrabberServer(int)’:
../../thotlib/internals/h/AmayaAppInstance.h:54: error: class ‘AmayaURLGrabberServer’ does not have any field named ‘m_AcceptedTopic’
../../thotlib/internals/h/AmayaAppInstance.h:54: error: ‘accepted_topic’ was not declared in this scope
../../thotlib/internals/h/AmayaAppInstance.h:55: error: ‘NULL’ was not declared in this scope
In file included from ../../thotlib/base/AmayaAppInstance.cpp:11:
../../thotlib/include/message_wx.h: At global scope:
../../thotlib/include/message_wx.h:12: error: ‘wxString’ does not name a type
../../thotlib/base/AmayaAppInstance.cpp: In constructor ‘AmayaAppInstance::AmayaAppInstance(AmayaApp*)’:
../../thotlib/base/AmayaAppInstance.cpp:38: error: ‘m_InstanceName’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:38: error: ‘wxString’ has not been declared
../../thotlib/base/AmayaAppInstance.cpp:38: error: ‘_T’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:38: error: ‘class AmayaApp’ has no member named ‘GetAppName’
../../thotlib/base/AmayaAppInstance.cpp:39: error: ‘wxGetUserId’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:40: error: ‘m_ServicePort’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:40: error: ‘wxFileName’ has not been declared
../../thotlib/base/AmayaAppInstance.cpp:44: error: invalid use of incomplete type ‘struct wxSingleInstanceChecker’
../../thotlib/include/AmayaApp.h:18: error: forward declaration of ‘struct wxSingleInstanceChecker’
../../thotlib/base/AmayaAppInstance.cpp:45: error: ‘m_ServiceTopic’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:46: error: ‘m_ServiceHostname’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:47: error: ‘m_pURLGrabberServer’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp: In destructor ‘virtual AmayaAppInstance::~AmayaAppInstance()’:
../../thotlib/base/AmayaAppInstance.cpp:62: warning: possible problem detected in invocation of delete operator:
../../thotlib/base/AmayaAppInstance.cpp:62: warning: invalid use of incomplete type ‘struct wxSingleInstanceChecker’
../../thotlib/include/AmayaApp.h:18: warning: forward declaration of ‘struct wxSingleInstanceChecker’
../../thotlib/base/AmayaAppInstance.cpp:62: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
../../thotlib/base/AmayaAppInstance.cpp:66: error: ‘m_pURLGrabberServer’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp: In member function ‘bool AmayaAppInstance::IsAnotherAmayaRunning()’:
../../thotlib/base/AmayaAppInstance.cpp:80: error: invalid use of incomplete type ‘struct wxSingleInstanceChecker’
../../thotlib/include/AmayaApp.h:18: error: forward declaration of ‘struct wxSingleInstanceChecker’
../../thotlib/base/AmayaAppInstance.cpp: At global scope:
../../thotlib/base/AmayaAppInstance.cpp:89: error: ISO C++ forbids declaration of ‘wxString’ with no type
../../thotlib/base/AmayaAppInstance.cpp:89: error: expected ‘,’ or ‘...’ before ‘&’ token
../../thotlib/base/AmayaAppInstance.cpp: In member function ‘bool AmayaAppInstance::SendURLToOtherAmayaInstance(int)’:
../../thotlib/base/AmayaAppInstance.cpp:97: error: ‘wxClient’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:97: error: ‘p_client’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:97: error: expected type-specifier before ‘wxClient’
../../thotlib/base/AmayaAppInstance.cpp:97: error: expected ‘;’ before ‘wxClient’
../../thotlib/base/AmayaAppInstance.cpp:98: error: ‘wxConnection’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:98: error: ‘p_connection’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:98: error: expected primary-expression before ‘)’ token
../../thotlib/base/AmayaAppInstance.cpp:98: error: expected ‘;’ before ‘p_client’
../../thotlib/base/AmayaAppInstance.cpp:102: error: ‘_T’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:102: error: ‘wxLogMessage’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:107: error: ‘url’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:107: error: ‘wxConvUTF8’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:129: error: ‘_T’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:129: error: ‘wxChar’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:129: error: expected primary-expression before ‘)’ token
../../thotlib/base/AmayaAppInstance.cpp:131: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
../../thotlib/base/AmayaAppInstance.cpp:121: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result
../../thotlib/base/AmayaAppInstance.cpp: In member function ‘void AmayaAppInstance::StartURLGrabberServer()’:
../../thotlib/base/AmayaAppInstance.cpp:143: error: ‘m_pURLGrabberServer’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:143: error: ‘m_ServiceTopic’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:144: error: ‘m_ServicePort’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp: In member function ‘void AmayaAppInstance::RegisterOpenURLCallback(void (*)(void*))’:
../../thotlib/base/AmayaAppInstance.cpp:154: error: ‘m_pURLGrabberServer’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp: In member function ‘void AmayaAppInstance::CallOpenURLCallback(char*)’:
../../thotlib/base/AmayaAppInstance.cpp:166: error: ‘m_pURLGrabberServer’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp: At global scope:
../../thotlib/base/AmayaAppInstance.cpp:195: error: ISO C++ forbids declaration of ‘wxString’ with no type
../../thotlib/base/AmayaAppInstance.cpp:195: error: expected ‘,’ or ‘...’ before ‘&’ token
../../thotlib/base/AmayaAppInstance.cpp: In member function ‘bool AmayaURLGrabberConnection::OnPoke(int)’:
../../thotlib/base/AmayaAppInstance.cpp:198: error: ‘m_Owner’ was not declared in this scope
../../thotlib/base/AmayaAppInstance.cpp:202: error: ‘data’ was not declared in this scope
make[1]: *** [base/AmayaAppInstance.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
make: *** [thotlib] Error 2
Comment 65 Stephen Lewis 2010-07-29 17:18:45 UTC
(In reply to comment #64)
> 11.3.1 fails on my comp with alot of errors which are because a file is
> missing:
> >>> Compiling source in /var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF ...
...


> make[1]: Entering directory
> `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
> x86_64-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX
> -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include
> -I../../thotlib/internals/var -I../../thotlib/internals/h
> -I../../thotlib/internals/f       -I/usr/include/freetype2  -c
> ../../thotlib/base/AmayaAppInstance.cpp -o base/AmayaAppInstance.o
> In file included from ../../thotlib/base/AmayaAppInstance.cpp:10:
> ../../thotlib/internals/h/AmayaAppInstance.h:6:19: error: wx/wx.h: No such file
> or directory
> ../../thotlib/internals/h/AmayaAppInstance.h:7:20: error: wx/ipc.h: No such
> file or directory
...

For some reason it is not finding wx on your system,
check that you have wxGTK.

'emerge x11-libs/wxGTK'

It is known to work with this version:
x11-libs/wxGTK-2.8.10.1-r5

you will also need to patch the libs mentioned in previous messages,

Stephen Lewis
Comment 66 darkdog 2010-10-13 02:17:33 UTC
(In reply to comment #65)
> (In reply to comment #64)
> > 11.3.1 fails on my comp with alot of errors which are because a file is
> > missing:
> > >>> Compiling source in /var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF ...
> ...
> 
> 
> > make[1]: Entering directory
> > `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
> > x86_64-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX
> > -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include
> > -I../../thotlib/internals/var -I../../thotlib/internals/h
> > -I../../thotlib/internals/f       -I/usr/include/freetype2  -c
> > ../../thotlib/base/AmayaAppInstance.cpp -o base/AmayaAppInstance.o
> > In file included from ../../thotlib/base/AmayaAppInstance.cpp:10:
> > ../../thotlib/internals/h/AmayaAppInstance.h:6:19: error: wx/wx.h: No such file
> > or directory
> > ../../thotlib/internals/h/AmayaAppInstance.h:7:20: error: wx/ipc.h: No such
> > file or directory
> ...
> 
> For some reason it is not finding wx on your system,
> check that you have wxGTK.
> 
> 'emerge x11-libs/wxGTK'
> 
> It is known to work with this version:
> x11-libs/wxGTK-2.8.10.1-r5
> 
> you will also need to patch the libs mentioned in previous messages,
> 
> Stephen Lewis
> 

I have the same wx headers not found problem as DaggyStyle, and I am using the suggested version of wxGTK

equery l wxGTK
[ Searching for package 'wxGTK' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/wxGTK-2.8.10.1-r5 (2.8)

....
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF ...
Makefile:11: Options: Adresár alebo súbor neexistuje
/bin/cp Options.orig Options
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
i686-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -I../../ -c ../../../tools/mkdep/mkdep.c -o mkdep.o
i686-pc-linux-gnu-g++  -o mkdep mkdep.o
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools'
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/mkdep'
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
Makefile:40: .depends: Adresár alebo súbor neexistuje
../../tools/mkdep/mkdep -relative -vpath ../../../tools/cextract-1.7  ../../../tools/cextract-1.7/*.c  > .depends
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
make[2]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
i686-pc-linux-gnu-g++ -x c '-DCPP="'"i686-pc-linux-gnu-gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/parse.c -o parse.o
i686-pc-linux-gnu-g++ -x c '-DCPP="'"i686-pc-linux-gnu-gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/main.c -o main.o
i686-pc-linux-gnu-g++ -x c '-DCPP="'"i686-pc-linux-gnu-gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/io.c -o io.o
i686-pc-linux-gnu-g++  -o ../../bin/cextract parse.o main.o io.o -ldl  -lm
make[2]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools/cextract-1.7'
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/tools'
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
Makefile:66: .depends: Adresár alebo súbor neexistuje
../tools/mkdep/mkdep -relative -vpath ../../thotlib -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f       -I/usr/include/freetype2  ../../thotlib/*/*.c ../../thotlib/*/*.cpp  > .depends
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
make[1]: Entering directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
i686-pc-linux-gnu-g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var -I../../thotlib/internals/h -I../../thotlib/internals/f       -I/usr/include/freetype2  -c ../../thotlib/base/AmayaAppInstance.cpp -o base/AmayaAppInstance.o
In file included from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/internals/h/AmayaAppInstance.h:6:19: error: wx/wx.h: Adresár alebo súbor neexistuje
../../thotlib/internals/h/AmayaAppInstance.h:7:20: error: wx/ipc.h: Adresár alebo súbor neexistuje
../../thotlib/internals/h/AmayaAppInstance.h:8:25: error: wx/snglinst.h: Adresár alebo súbor neexistuje
In file included from ../../thotlib/internals/h/AmayaAppInstance.h:10,
                 from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/include/AmayaApp.h:7:20: error: wx/app.h: Adresár alebo súbor neexistuje
../../thotlib/include/AmayaApp.h:8:24: error: wx/strconv.h: Adresár alebo súbor neexistuje
../../thotlib/include/AmayaApp.h:9:25: error: wx/imaglist.h: Adresár alebo súbor neexistuje
../../thotlib/include/AmayaApp.h:12:27: error: wx/glcanvas.h: Adresár alebo súbor neexistuje
../../thotlib/base/AmayaAppInstance.cpp:20:25: error: wx/filename.h: Adresár alebo súbor neexistuje
In file included from ../../thotlib/internals/h/AmayaAppInstance.h:10,
                 from ../../thotlib/base/AmayaAppInstance.cpp:10:
../../thotlib/include/AmayaApp.h:28: error: expected class-name before ‘{’ token
../../thotlib/include/AmayaApp.h:32: error: ‘wxEvent’ has not been declared
../../thotlib/include/AmayaApp.h:42: error: ISO C++ forbids declaration of ‘wxImageList’ with no type
....

Comment 67 darkdog 2010-10-13 02:46:19 UTC
OK I have it up and running :) I should have first look more into the error messages before posting, because the "wx headers error" was not really an error, I just need to eselect wxwidgets and is working now.
Comment 68 Stephen Lewis 2010-10-13 05:06:29 UTC
(In reply to comment #67)
> OK I have it up and running :) I should have first look more into the error
> messages before posting, because the "wx headers error" was not really an
> error, I just need to eselect wxwidgets and is working now.
> 

Glad you got it running, I thought it was sufficient to emerge 'wxGTK' but
you are right it seems that even if you have only one version you also must
select wxwidgets like this,

$ emerge x11-libs/wxGTK
$ eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-unicode-release-2.8 *
$ eselect wxwidgets set 1
Setting wxWidgets profile to gtk2-unicode-release-2.8

after that it should be possible to emerge 'amaya'
Stephen Lewis
Comment 69 Joakim Tjernlund 2010-11-30 08:12:02 UTC
Amaya installs its own print command (/usr/bin/print)
This breaks some pkgs configure scripts which finds /usr/bin/print
expecting it to be some other print command.
Comment 70 Jack 2011-02-13 23:43:03 UTC
The amaya I installed several months ago (comment #62) stopped working due to my changing libpng, so I tried to re-emerge, but the compile failed with "error: cannot call constructor 'wxFile::wxFile' directly."  Searching on that led me to an ArchLinux bug (https://bbs.archlinux.org/viewtopic.php?pid=761620) which includes a patch to deal with a newer wxGTK.  (I don't know the etiquette of using patches from other distros or I'd just upload it here myself.)  Putting that patch in files/amaya-wxFile.path, making an -r1 ebuild adding the patch, and redoing the Manifest let amaya compile and run fine.
Comment 71 James 2011-03-29 06:22:05 UTC
i am getting this error Any thoughts.

../../thotlib/base/platform.c: In function 'ThotBool TtaFileCopy(const char*, const char*)':
../../thotlib/base/platform.c:332:48: error: cannot call constructor 'wxFile::wxFile' directly
../../thotlib/base/platform.c:332:48: error:   for a function-style cast, remove the redundant '::wxFile'
../../thotlib/base/platform.c:334:45: error: cannot call constructor 'wxFile::wxFile' directly
../../thotlib/base/platform.c:334:45: error:   for a function-style cast, remove the redundant '::wxFile'
make[1]: *** [base/platform.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/thotlib'
make: *** [thotlib] Error 2
 * ERROR: app-editors/amaya-11.3.1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2501:  Called die
 * The specific snippet of code:
 *       make || die
 * 
 * If you need support, post the output of 'emerge --info =app-editors/amaya-11.3.1',
 * the complete build log and the output of 'emerge -pqv =app-editors/amaya-11.3.1'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/app-editors/amaya-11.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/amaya-11.3.1/temp/environment'.
 * S: '/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF'
Comment 72 James 2011-03-30 09:52:07 UTC
i needed to use this patch as well


diff -Naur Amaya-11.3.1/Amaya/amaya/HTMLedit.c Amaya-11.3.1-local/Amaya/amaya/HTMLedit.c
--- Amaya-11.3.1/Amaya/amaya/HTMLedit.c    2009-12-09 11:11:22.000000000 +0100
+++ Amaya-11.3.1-local/Amaya/amaya/HTMLedit.c    2010-05-20 19:15:22.000000000 +0200
@@ -1689,7 +1689,7 @@
                 {
 #ifdef _WX
                   wxString tmpFile = TtaConvMessageToWX(tempURL);
-                  wxFile::wxFile (tmpFile, wxFile::write);
+                  wxFile (tmpFile, wxFile::write);
 #endif /* _WX */
                 }

diff -Naur Amaya-11.3.1/Amaya/thotlib/base/platform.c Amaya-11.3.1.new/Amaya/thotlib/base/platform.c
--- Amaya-11.3.1/Amaya/thotlib/base/platform.c    2009-12-02 12:23:07.000000000 +0100
+++ Amaya-11.3.1-local/Amaya/thotlib/base/platform.c    2010-05-20 19:00:49.000000000 +0200
@@ -329,9 +329,9 @@
     {
       tmp = (char *)TtaGetMemory (strlen(targetFileName)+10);
       sprintf (tmp, "%s.tmp", targetFileName);
-      wxFile::wxFile (targetFile, wxFile::write);
+      wxFile (targetFile, wxFile::write);
       tmpFile = TtaConvMessageToWX(tmp);
-      wxFile::wxFile (tmpFile, wxFile::write);
+      wxFile (tmpFile, wxFile::write);
       result = wxFile::Exists(targetFile);
       if (result)
         result = wxConcatFiles (tmpFile, sourceFile, targetFile)


And now my only problem is 


query.o: In function `QueryInit()':
query.c:(.text+0x28db): undefined reference to `HTSSL_protMethod_set'
query.c:(.text+0x28e7): undefined reference to `HTSSL_verifyDepth_set'
query.c:(.text+0x28f3): undefined reference to `HTSSLhttps_init'
query.o: In function `QueryClose()':
query.c:(.text+0x4d0b): undefined reference to `HTSSLhttps_terminate'
collect2: ld returned 1 exit status
make[1]: *** [../bin/amaya_bin] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/amaya-11.3.1/work/Amaya/LINUX-ELF/amaya'
make: *** [amaya_prog] Error 2


i have tried all the patches for libwww but nothing seems to help.
Comment 73 DrSlony 2012-04-08 15:14:31 UTC
Bump
Comment 74 Stephen Lewis 2012-04-09 05:14:13 UTC
I have been able to build and run Amaya 11.4.4 successfully on Powerpc64
using the ebuild and patches attached.
But first it is necessary to fix 'libwww-config' for bug 327377.
I know nothing of security issues mentioned and I have not tried either x86
or amd64. Even if it is not in portage I hope this helps someone.

attach amaya-11.4.4.ebuild
Comment 75 Stephen Lewis 2012-04-09 05:17:12 UTC
Created attachment 308257 [details, diff]
1 of 6 files/amaya-11.4.4-gzfile.patch
Comment 76 Stephen Lewis 2012-04-09 05:18:47 UTC
Created attachment 308261 [details, diff]
2 of 6 files/amaya-11.4.4-libpng15.patch
Comment 77 Stephen Lewis 2012-04-09 05:19:37 UTC
Created attachment 308263 [details, diff]
3 of 6 files/amaya-11.4.4-setgray.patch
Comment 78 Stephen Lewis 2012-04-09 05:20:29 UTC
Created attachment 308265 [details, diff]
4 of 6 files/amaya-11.4.4-socketbufsize.patch
Comment 79 Stephen Lewis 2012-04-09 05:21:24 UTC
Created attachment 308267 [details, diff]
5 of 6 files/amaya-11.4.4-wakeupidle.patch
Comment 80 Stephen Lewis 2012-04-09 05:22:20 UTC
Created attachment 308269 [details, diff]
6 of 6 files/amaya-11.4.4-wxyield.patch
Comment 81 Stephen Lewis 2012-04-09 05:28:22 UTC
Created attachment 308271 [details]
amaya-11.4.4.ebuild

Provided "as-is", no warranty in hope it may be useful :-)
Comment 82 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-21 13:43:10 UTC
*** Bug 432190 has been marked as a duplicate of this bug. ***