Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
The ECW JPEG 2000 SDK 3.3 RC2 has just been released, and I thought it would be helpful to post a preliminary ebuild for it. I've used it to install on my system: Linux 2.6.15-gentoo-r1 #1 PREEMPT Thu Jan 26 10:27:55 GMT 2006 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux The ebuild is pretty rough and ready, but it's a start, and it works for me! It includes a hack in src_install() to enable the install to proceed (I've filed a bug with upstream). It means a new license for portage as well.
Created an attachment (id=79283) [edit] libecwj2-3.3_rc2.ebuild I placed this in the sci-libs category in my overlay tree.
- src_unpack() is superfluous
I got this error: >>> Source unpacked. !!! ERROR: sci-libs/libecwj2-3.3_rc2 failed. !!! Function econf, Line 498, Exitcode 1 !!! no configure script found
(In reply to comment #3) > I got this error: > >>> Source unpacked. > > !!! ERROR: sci-libs/libecwj2-3.3_rc2 failed. > !!! Function econf, Line 498, Exitcode 1 > !!! no configure script found > I couldn't recreate that error. The archive on the website doesn't seem to have changed either. Did you download the source as opposed to binary distribution? You should have the source SDK available at <http://www.ermapper.com/downloads/download_view.aspx?PRODUCT_VERSION_ID=288>. If that doesn't fix it you'll have to provide some more information.
gekomachine geko # emerge info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ngi.it http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="it_IT@euro" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm asf audiofile avi berkdb bitmap-fonts bzip2 cdb cdr crypt cups curl dri dvd dvdr eds emboss encode exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gpm gtk2 hal idn imlib ipod ipv6 java jpeg junit kde lcms libg++ libwww mad mhash mikmod mng motif mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime readline ruby scanner sdl spell sqlite ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xv xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS This is the full error: >>> Unpacking libecwj2-3.3-RC2.zip to /var/tmp/portage/libecwj2-3.3_rc2/work >>> Source unpacked. !!! ERROR: sci-libs/libecwj2-3.3_rc2 failed. !!! Function econf, Line 498, Exitcode 1 !!! no configure script found The archives in the distfile is the same of the one i compiled by hand, and is working fine... thx Luca
(In reply to comment #5) Well, we have the same version of Portage and build chain, same FEATUREs etc. So it's most likely to be a difference in the SDK we have. The md5 checksum for my file is: 0ab313ee45f695e447af5706fcc7ebee /usr/portage/distfiles/libecwj2-3.3-RC2.zip Does yours match? Also after running ebuild /usr/local/portage/sci-libs/libecwj2/libecwj2-3.3_rc2.ebuild unpack the configure script is at /var/tmp/portage/libecwj2-3.3_rc2/work/configure Is this the same for yours? Apart from that, I can't think of anything else to check!
The file is the same, but the path where the configure is, is this: /var/tmp/portage/libecwj2-3.3_rc2/work/libecwj2-3.3/configure Thx Luca
Wait! I mistaken the cecksum ceck...is different but i don't understand why 3aa429c01e7029ff13933b66ba6749ef libecwj2-3.3-RC2.zip
(In reply to comment #8) > Wait! > I mistaken the cecksum ceck...is different but i don't understand why My fault - ER seem to have uploaded a new file later on the same day as I downloaded mine! I will attach a new ebuild that should work with it.
Created an attachment (id=82394) [edit] libecwj2-3.3_rc2-r1.ebuild Should work with ECW source SDK having the following md5 sum: 3aa429c01e7029ff13933b66ba6749ef
A good idea would have been to push the .h files in a subdirectory of /usr/include/ , for example /usr/include/libecwj2/ . As an absolute non-expert of Portage, I don't know if there is such a var as $INCDIR or something accessible from the ebuild. Anyway, good news : the lib compiles and seems to work on my amd64 too. More testing to come.
All si working fine right now...Thx! I think we should ad an r1 of gdal to add support for this and for grass, cause all the patch on bugs works fine...
(In reply to comment #11) > A good idea would have been to push the .h files in a subdirectory of > /usr/include/ , for example /usr/include/libecwj2/ . As an absolute non-expert > of Portage, I don't know if there is such a var as $INCDIR or something > accessible from the ebuild. Good point. I had a look at the headers and found that this package overwrites headers from the lcms package. There are a number of options as I see it: 1. Do what you suggest. This can be accomplished by passing the --includedir argument to econf and modifying the 'mkdir -p' hack in src_install(). The problem with this is that the headers are now in a non standard location; every package that uses libecwj2 (e.g. gdal) would need to alter the CFLAGS/CPPFLAGS variables to point to the correct header location. 2. Leave libecwj2 install locations alone but specify a block with lcms such that the two packages can't coexist on the same system. 3. Patch up libecwj2 such that lcms is an optional dependency for libecwj2, and is pulled in from the system rather than the bundled lcms (i.e. passing --with-lcms to configure). 4. Do something I've missed #1 is easy to implement but is it acceptable for other packages? #2 is rather unpalatable, especially as there's a likelihood that people using libecwj2 would also have a use for lcms (like me). #3 would be the cleanest solution but would require the most effort. Ideally this is something that upstream should implement to tidy up their distribution. Perhaps someone with some more experience in these issues could suggest something.
LCMS is statically linked by libecwj2, and lcms headers are not overwritten. Considering this, solution 1 is enough, for libecwj2 alone, and can be considered healthy. About GDAL, I don't know what has to be done but probably not much, since ecw headers are probably called in few if not only one gdal header. Patching hopefully can be light and simple. I will try to take a look.
Using libecwj2-3.3_rc2-r1 ebuild with libecwj2-3.3-RC2-2006-02-08.zip (and renaming it in /usr/portage/distfiles) doesn't work: /var/tmp/portage/libecwj2-3.3_rc2-r1/work/libecwj2-3.3/Source/include/NCSJPCBuffer.h:178: error: extra qualification
Using libecwj2-3.3_rc2-r1 ebuild with libecwj2-3.3-RC2-2006-02-08.zip (and renaming it in /usr/portage/distfiles) doesn't work: /var/tmp/portage/libecwj2-3.3_rc2-r1/work/libecwj2-3.3/Source/include/NCSJPCBuffer.h:178: error: extra qualification CNCSJPCBuffer:: on member CNCSJPCBuffer /var/tmp/portage/libecwj2-3.3_rc2-r1/work/libecwj2-3.3/Source/include/NCSJPCBuffer.h:191: error: extra qualification CNCSJPCBuffer:: on member operator= make[3]: *** [______lib_libecwj2_a-NCSJP2.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/libecwj2-3.3_rc2-r1/work/libecwj2-3.3/Source/NCSBuildGnu' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/libecwj2-3.3_rc2-r1/work/libecwj2-3.3/Source/NCSBuildGnu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libecwj2-3.3_rc2-r1/work/libecwj2-3.3/Source' make: *** [all-recursive] Error 1 !!! ERROR: sci-libs/libecwj2-3.3_rc2-r1 failed. Call stack: ebuild.sh, line 1531: Called dyn_compile ebuild.sh, line 931: Called src_compile libecwj2-3.3_rc2-r1.ebuild, line 29: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. I'll assume source code in archive it's broken. Hope for a workaround?
Sorry, additional info: # md5sum libecwj2-3.3-RC2-2006-02-08.zip 3aa429c01e7029ff13933b66ba6749ef libecwj2-3.3-RC2-2006-02-08.zip # emerge --info Gentoo Base System version 1.12.0 Portage 2.1_rc2-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r2, 2.6.16-suspend2-r6 i686) ================================================================= System uname: 2.6.16-suspend2-r6 i686 Mobile AMD Athlon(tm) XP 2600+ ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/grass60/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://130.59.10.34/mirror/gentoo/ ftp://130.59.10.35/mirror/gentoo/ ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://mirror.isp.net.au/pub/gentoo/" LANG="it_IT" LC_ALL="it_IT.utf8" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 7zip X aac aalib acpi aim alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 caps cdparanoia cdr cli crypt cups dba dbase dbus dga dio dri dts dvb dvd dvdr dvdread emboss encode esd fbcon ffmpeg fftw firefox flac flatfile foomaticdb fortran ftp gcj gdbm geoip gif gnutls gpm gps gstreamer gtk gtk2 hal iconv icq ieee1394 imagemagick imap imlib isdnlog jabber jack javascript jpeg jpeg2k lcms lesstif libcaca libg++ libgda libwww mad matroska mbox md5sum mhash mikmod mime mmap mmx mng motif mp3 mpeg msn nas ncurses nis nls nptl nsplugin odbc offensive ogg opengl oscar oss pam pcmcia pcre pdf pdflib perl php pic png posix postgres ppds pppd python qt quicktime readline reflection samba sdl session sharedmem sndfile soap sockets sox spell spl sse ssl svg sysvipc szip tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs wmf wxwindows xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_it userland_GNU video_cards_via video_cards_vesa video_cards_fbdev video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #16) > # emerge --info > Gentoo Base System version 1.12.0 > Portage 2.1_rc2-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r2, > 2.6.16-suspend2-r6 i686) A search on "error: extra qualification" confirms my hunch that the error is due to the fact that you're using gcc-4.1 (I'm using gcc-3.4.6). The problem is that 4.1 dislikes the following construct: class MyClass { int MyClass::method(void); }; which needs to be changed to: class MyClass { int method(void); }; So changing line 178 in NCSJPCBuffer.h to: CNCSJPCBuffer( const class CNCSJPCBuffer& src ); and line 191 to: class CNCSJPCBuffer& operator=( const class CNCSJPCBuffer& src ); would hopefully resolve the issue. I won't make a patch for it as I'm sure there will be other such cases, and I haven't upgraded to 4.1 yet so I can't test for them all. Feel free to do so, though, and we can submit the patches to ERMapper and include them in the ebuild until it is fixed.
Created an attachment (id=88053) [edit] Patch to allow gcc4 compilation
Created an attachment (id=88054) [edit] New ebuild that includes gcc4 support The previous and the present attachments are to place: libecwj2-gcc4-includes.patch -> ${PORTDIR_OVERLAY}/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch libecwj2-3.3_rc2-r2.ebuild -> ${PORTDIR_OVERLAY}/sci-libs/libecwj2/libecwj2-3.3_rc2-r2.ebuild I've changed a little the content of the ebuild. I didn't test it yet with gcc-3.4, with gcc-4.* works fine. Arch ~x86. HTH, please feedback :)
(In reply to comment #19) > Created an attachment (id=88054) [edit] > New ebuild that includes gcc4 support > > The previous and the present attachments are to place: > libecwj2-gcc4-includes.patch -> > ${PORTDIR_OVERLAY}/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch > libecwj2-3.3_rc2-r2.ebuild -> > ${PORTDIR_OVERLAY}/sci-libs/libecwj2/libecwj2-3.3_rc2-r2.ebuild > > I've changed a little the content of the ebuild. I didn't test it yet with > gcc-3.4, with gcc-4.* works fine. Arch ~x86. > > HTH, please feedback :) > I haven't done many tests, but it compiled fine for me and worked with gdalinfo on some test files. I'm using: $ gcc-config -c i686-pc-linux-gnu-3.4.6 Have you filed a bug with ERMapper for this Emiliano? Thanks!
(In reply to comment #20) > Have you filed a bug with ERMapper for this Emiliano? Sorry for the long waiting... No, I haven't filed it yet. Where I can file it? Thanks for the early-beta testing, bye.
(In reply to comment #21) > (In reply to comment #20) > > Have you filed a bug with ERMapper for this Emiliano? > > Sorry for the long waiting... No, I haven't filed it yet. Where I can file it? ER Mapper have a feedback form at http://www.ermapper.com/support/beta/ where you can comment and upload the patch. Thanks.
(In reply to comment #22) > ER Mapper have a feedback form at http://www.ermapper.com/support/beta/ where > you can comment and upload the patch. Done. Hope to hear something new soon, thanks again.
Hi to all! 3.3 Is out..I tried to change your ebuild for this version but got problem with gcc patch..can you give me a hand? Thanks Luca
This is the error in the patch: ***** libecwj2-gcc4-includes.patch ***** ======================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch ======================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCBuffer.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCBuffer.h 2006-05-31 23:21:33.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCMarker.h 2006-06-01 00:19:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCPLTMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCPLTMarker.h 2006-05-31 23:38:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch ======================================== patching file Source/include/NCSJPCBuffer.h Hunk #1 FAILED at 175. Hunk #2 FAILED at 188. 2 out of 2 hunks FAILED -- saving rejects to file Source/include/NCSJPCBuffer.h.rej patching file Source/include/NCSJPCMarker.h Hunk #1 FAILED at 98. 1 out of 1 hunk FAILED -- saving rejects to file Source/include/NCSJPCMarker.h.rej patching file Source/include/NCSJPCPLTMarker.h Hunk #1 FAILED at 81. 1 out of 1 hunk FAILED -- saving rejects to file Source/include/NCSJPCPLTMarker.h.rej ======================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch ======================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCBuffer.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCBuffer.h 2006-05-31 23:21:33.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCMarker.h 2006-06-01 00:19:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 34 of patch can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCPLTMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCPLTMarker.h 2006-05-31 23:38:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch ======================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCBuffer.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCBuffer.h 2006-05-31 23:21:33.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCMarker.h 2006-06-01 00:19:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 34 of patch can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCPLTMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCPLTMarker.h 2006-05-31 23:38:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sci-libs/libecwj2/files/libecwj2-gcc4-includes.patch ======================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCBuffer.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCBuffer.h 2006-05-31 23:21:33.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCMarker.h 2006-06-01 00:19:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 34 of patch can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- libecwj2-3.3/Source/include/NCSJPCPLTMarker.h 2006-02-08 03:04:44.000000000 +0100 |+++ newincludes/NCSJPCPLTMarker.h 2006-05-31 23:38:48.000000000 +0200 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
Created an attachment (id=96780) [edit] libecwj2-3.3.ebuild An ebuild for libecwj2-3.3. Seems to install fine for me with $ gcc-config -c i686-pc-linux-gnu-4.1.1 Lots of warnings when building, but it seemed to stumble through. There's no need for the patches submitted previously as the code seems to have been tidied up in that respect.
(In reply to comment #26) > There's no > need for the patches submitted previously as the code seems to have been tidied > up in that respect. Exactly. I think that they applied the patch proposed here, so the ebuilds need no more patching. Thanks Homme, I will try your ebuild as soon as I can be stable online. Cheers.
Thanks again, Homme. Your ebuild works on ~x86 with gcc-4.1.1.
Now in the cvs, it will take some time to hit the mirror. Thanks for your appriciate help.
libecwj2-3.3.ebuild will be available in portage soon.
Also works on AMD64. Please add the ~amd64 keyword.