Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abiword-CVS ebuild
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bugg
n00b
n00b


Joined: 26 Sep 2002
Posts: 20

PostPosted: Thu Dec 19, 2002 11:21 pm    Post subject: Abiword-CVS ebuild Reply with quote

Note: Updated ebuilds are available - see later posts.

I've made a live-CVS ebuild for AbiWord. This will download, configure and install the latest version of AbiWord, straight out of CVS. Portage currently only contains stable (1.0.x) versions of AbiWord - since then it has gained tables, XFT2 font-handling, full unicode and bidi-text support and now uses GTK2. Plus lots of other things I can't remember.

To build this you'll need three ebuilds that aren't currently in portage.
  1. dev-libs/libiconv-1.8 (submitted to bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=12402)
  2. x11-libs/fribidi-0.10.4 (submitted to bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=12403)
  3. app-office/abiword-cvs-20021218
These should be downloaded and saved in your local portage tree.

To make things easy, I've even created a single download that contains all of these ebuilds plus digests for the libiconv and fribidi ones. Save this file and type:
Code:
tar -xvf /path/to/abiword+libiconv+fribidi-20021219.tar -C /usr/local/portage/
changing /usr/local/portage to whatever you have PORTDIR_OVERLAY set to.

libiconv is masked in /usr/portage/profiles/packages.mask so you'll need to comment it out of that file. When you've done this, a simple:
Code:
ACCEPT_KEYWORDS="~x86" emerge --pretend app-office/abiword-cvs
followed by:
Code:
ACCEPT_KEYWORDS="~x86" emerge app-office/abiword-cvs
should start the installation.

The abiword-cvs ebuild takes notice of two USE variables. If spell is set then it will use aspell instead of ispell, and if perl is set then scripting will be enabled.

The abiword-cvs installs into /usr/local so that it's out of the way of any stable builds you have. But you might still have problems running both versions as the same user - I don't know if the .Abisuite/AbiWord.profile formats are compatible or not.

This is a CVS ebuild so there is no guarantee that it will compile/work. However, AbiWord has been fairly stable recently, so any problems are most likely due to bugs in this ebuild. It works for me, but I haven't tested it at all thoroughly.

If you have problems:
  1. Check the AbiWord tinderbox to see if the tree is broken
  2. Post a message here saying what's gone wrong
  3. Ask on #abiword on irc.gnome.org - but don't do this unless you're certain it isn't a problem with the ebuild.
Please give this a try, and let us know whether it worked or not.

- olly


Last edited by bugg on Sat Dec 21, 2002 6:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
max_colby
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 149
Location: Ottawa, Canada

PostPosted: Thu Dec 19, 2002 11:55 pm    Post subject: Reply with quote

Thank you!

I had started working on something like this last night, so it was great to find this out of the blue. It's compiling right now.

The only problem I've run into using different versions of Abiword is that the .Abisuite folder is incompatable with newer Abiword releases, so when switching between 1.0.x and 1.1.x versions of Abiword, be sure to delete ~/.AbiSuite

If you don't the toolbars will look really messed up.
Back to top
View user's profile Send private message
michrech
n00b
n00b


Joined: 20 Dec 2002
Posts: 51
Location: Kirksville, MO

PostPosted: Fri Dec 20, 2002 12:35 am    Post subject: Installing Reply with quote

Welp. It's installing/compiling as of 18:30 CST. Will let you know what it does when it finishes.

:)
Back to top
View user's profile Send private message
max_colby
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 149
Location: Ottawa, Canada

PostPosted: Fri Dec 20, 2002 4:04 am    Post subject: Reply with quote

I'm having font problems (as I've always had with the 1.1.x versions) specifically, Abiword just won't load because it can't find fonts and spits an incredible amount of output to the terminal. Have any other Gentoo users had this problem?

As for the ebuilds, they work perfectly ... thanks again!
Back to top
View user's profile Send private message
silvercat
n00b
n00b


Joined: 07 Aug 2002
Posts: 54
Location: Canada

PostPosted: Fri Dec 20, 2002 4:08 am    Post subject: Reply with quote

Code:
In file included from ut_PerlBindings.h:11,
                 from ut_PerlBindings.cpp:7:
ut_Script.h:84: warning: `class UT_ScriptLibrary' only defines private
   constructors and has no friends
In file included from ut_PerlBindings.cpp:41:
/usr/lib/perl5/5.8.0/i686-linux-thread/CORE/perl.h:720: declaration of `int
   sockatmark(int)' throws different exceptions
/usr/include/sys/socket.h:204: than previous declaration `int sockatmark(int)
   throw ()'
In file included from ut_PerlBindings.cpp:41:
/usr/lib/perl5/5.8.0/i686-linux-thread/CORE/perl.h:3841:24: warning: ISO C does not permit named variadic macros
ut_PerlBindings.cpp: In function `void xs_init(PerlInterpreter*)':
ut_PerlBindings.cpp:75: warning: invalid conversion from `void
   (*)(PerlInterpreter*, CV*)' to `void (*)(CV*)'
ut_PerlBindings.cpp:132:74: warning: ISO C99 requires rest arguments to be used
ut_PerlBindings.cpp: In constructor `UT_PerlBindings::UT_PerlBindings()':
ut_PerlBindings.cpp:135: warning: invalid conversion from `void
   (*)(PerlInterpreter*)' to `void (*)()'
ut_PerlBindings.cpp: In member function `bool UT_PerlBindings::evalFile(const
   UT_String&)':
ut_PerlBindings.cpp:240: warning: ISO C++ forbids braced-groups within
   expressions
ut_PerlBindings.cpp:256: warning: ISO C++ forbids braced-groups within
   expressions
ut_PerlBindings.cpp:221: warning: unused variable `PerlInterpreter*my_perl'
ut_PerlBindings.cpp: In member function `bool
   UT_PerlBindings::runCallback(const char*)':
ut_PerlBindings.cpp:299: cannot convert `PerlInterpreter*' to `const char*' for
   argument `1' to `I32 Perl_call_pv(const char*, long int)'
ut_PerlBindings.cpp:302: warning: ISO C++ forbids braced-groups within
   expressions
make[4]: *** [ut_PerlBindings.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/abiword-cvs-20021218/work/abi/src/af/util/xp'make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/abiword-cvs-20021218/work/abi/src/af/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/abiword-cvs-20021218/work/abi/src/af'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/abiword-cvs-20021218/work/abi/src'
make: *** [all-recursive] Error 1
 
!!! ERROR: app-office/abiword-cvs-20021218 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! make failed


This could be because i have perl-5.8.0-r6 installed... and it seems like abiword-cvs doesn't work very well with that version of perl..

So what i did was..
Code:
USE=-perl emerge -u abiword-cvs

And now abiword-cvs was able to compile okay without the perl dependency... but now when i go to start abiword-cvs... it takes a while to load... (presumably looking for font files that aren't there)... and gives me this message..
Code:
AbiWord has not been able to find any font.  Please check that
you have configured correctly your font config file (it's usually
located at /etc/fonts/fonts.conf)


So i did recompile xfree before compiling abiword-cvs... so what i will do is restart X... and see if that helps..
Back to top
View user's profile Send private message
line72
Apprentice
Apprentice


Joined: 13 Jun 2002
Posts: 212

PostPosted: Fri Dec 20, 2002 10:20 pm    Post subject: fonts Reply with quote

Abiword fails saying it can't find fonts. The only way around this is to disable AA by :
export GDK_USE_XFT=0
then run abiword. Anyone know a way to get this with AA on ?

/Line72
Back to top
View user's profile Send private message
bugg
n00b
n00b


Joined: 26 Sep 2002
Posts: 20

PostPosted: Sat Dec 21, 2002 5:59 pm    Post subject: Updated ebuild Reply with quote

I've updated the abiword-cvs ebuild. The previous version required GNU libiconv to be installed, but this can create problems with other packages, so I've removed this dependency.

The ebuilds now needed for abiword-cvs are:
  1. x11-libs/fribidi-0.10.4
  2. app-office/abiword-cvs-20021221
or you can use a tarball containing both of these, found here.

If you've installed this before, unmerge libiconv and the previous version of abiword-cvs. You may also need to rebuild glibc as it may have lost a couple of files due to the libiconv emerge/unmerge ('qpkg -c -v glibc' will check this). Installing abiword-cvs is done as described in my original post.

Thanks to all of you that have tried out the original ebuild and for your feedback.

silvercat: According to abiword's bugzilla building with perl 5.8 should work. I'm trying this myself to see if I can replicate your error.

max_colby: The huge amounts of output spewed into the terminal is debugging information. If it bothers you then remove the --enable-debug option passed to configure in the ebuild.

max_colby/silvercat/line72: I'm not getting any font problems myself. Could one/all of you post the last couple of dozen lines of debug output so we can try and track down this problem.
Back to top
View user's profile Send private message
line72
Apprentice
Apprentice


Joined: 13 Jun 2002
Posts: 212

PostPosted: Sun Dec 22, 2002 6:43 pm    Post subject: Reply with quote

here's the debug output

Code:

line72@line72 line72 $ abiword
DEBUG: Build ID:   unknown
DEBUG: Version:   1.1.2
DEBUG: Build Options:    
DEBUG: Build Target:    
DEBUG: Compile Date:   Dec 22 2002
DEBUG: Compile Time:   12:22:00
DEBUG: SEVIOR: Building menus and toolbars
DEBUG: UnixApp: about to initialize
DEBUG: DEFAULT ToolbarAppearance |icon|icon|
DEBUG: DEFAULT UnixFontPath |fonts|fonts|
DEBUG: DEFAULT RemapGlyphsMasterSwitch |1|1|
DEBUG: DEFAULT RemapGlyphsNoMatterWhat |0|0|
DEBUG: DEFAULT RemapGlyphsDefault |°|°|
DEBUG: DEFAULT RemapGlyphsTable |‘`’'“"”"|â`â'â"â"|
DEBUG: DEFAULT SmartQuotesEnable |0|0|
DEBUG: DEFAULT UseSuffix |1|1|
DEBUG: DEFAULT DefaultPageSize |Letter|Letter|
DEBUG: DEFAULT DefaultDirectionRtl |0|0|
DEBUG: DEFAULT UseContextGlyphs |1|1|
DEBUG: DEFAULT SaveContextGlyphs |0|0|
DEBUG: DEFAULT UseGlyphShapingForHebrew |0|0|
DEBUG: DEFAULT AutoSaveFile |0|0|
DEBUG: DEFAULT AutoSaveFilePeriod |5|5|
DEBUG: DEFAULT AutoSaveFileExt |.bak~|.bak~|
DEBUG: DEFAULT EmbedFontsInPs |1|1|
DEBUG: DEFAULT TransparentColor |ffffff|ffffff|
DEBUG: DEFAULT ColorShowPara |7f7f7f|7f7f7f|
DEBUG: DEFAULT ColorSquiggle |ff0000|ff0000|
DEBUG: DEFAULT ColorMargin |7f7f7f|7f7f7f|
DEBUG: DEFAULT ColorSelBackground |c0c0c0|c0c0c0|
DEBUG: DEFAULT ColorFieldOffset |0c0c0c|0c0c0c|
DEBUG: DEFAULT ColorImage |0000ff|0000ff|
DEBUG: DEFAULT ColorHyperLink |0000ff|0000ff|
DEBUG: DEFAULT ColorHdrFtr |000000|000000|
DEBUG: DEFAULT ColorColumnLine |000000|000000|
DEBUG: DEFAULT ColorRevision1 |ab04fe|ab04fe|
DEBUG: DEFAULT ColorRevision2 |ab1477|ab1477|
DEBUG: DEFAULT ColorRevision3 |ff9708|ff9708|
DEBUG: DEFAULT ColorRevision4 |9eb345|9eb345|
DEBUG: DEFAULT ColorRevision5 |0fb305|0fb305|
DEBUG: DEFAULT ColorRevision6 |08b3f8|08b3f8|
DEBUG: DEFAULT ColorRevision7 |04cec3|04cec3|
DEBUG: DEFAULT ColorRevision8 |0485c3|0485c3|
DEBUG: DEFAULT ColorRevision9 |0712c3|0712c3|
DEBUG: DEFAULT ColorRevision10 |ff0000|ff0000|
DEBUG: DEFAULT DocumentLocale |en-US|en-US|
DEBUG: DEFAULT AllowCustomToolbars |1|1|
DEBUG: DEFAULT AutoLoadPlugins |1|1|
DEBUG: DEFAULT ZoomType |Width|Width|
DEBUG: DEFAULT DefaultSaveDirectory |||
DEBUG: DEFAULT ShowUnixFontWarning |1|1|
DEBUG: DEFAULT ModifyUnixFontPath |1|1|
DEBUG: DEFAULT HTML_Export_Options |?xml,xmlns:awml,+CSS|?xml,xmlns:awml,+CSS|
DEBUG: DEFAULT CloseOnLastDoc |0|0|
DEBUG: DEFAULT DefaultSaveFormat |.abw|.abw|
DEBUG: DEFAULT CursorBlink |1|1|
DEBUG: DEFAULT AutoSpellCheck |1|1|
DEBUG: DEFAULT SpellCheckCaps |1|1|
DEBUG: DEFAULT SpellCheckNumbers |1|1|
DEBUG: DEFAULT SpellCheckInternet |1|1|
DEBUG: DEFAULT SpellCheckIgnoredWordsSave |1|1|
DEBUG: DEFAULT SpellCheckIgnoredWordsLoad |1|1|
DEBUG: DEFAULT SpellAutoReplace |0|0|
DEBUG: DEFAULT OptionsTabNumber |0|0|
DEBUG: DEFAULT RulerUnits |in|in|
DEBUG: DEFAULT RulerVisible |1|1|
DEBUG: DEFAULT StandardBarVisible |1|1|
DEBUG: DEFAULT FormatBarVisible |1|1|
DEBUG: DEFAULT ExtraBarVisible |0|0|
DEBUG: DEFAULT TableBarVisible |0|0|
DEBUG: DEFAULT StatusBarVisible |1|1|
DEBUG: DEFAULT ParaVisible |0|0|
DEBUG: DEFAULT StringSet |en-US|en-US|
DEBUG: DEFAULT KeyBindings |default|default|
DEBUG: DEFAULT KeyBindingsCycle |0|0|
DEBUG: DEFAULT InsertMode |1|1|
DEBUG: DEFAULT InsertModeToggle |1|1|
DEBUG: DEFAULT MenuLayouts |Main|Main|
DEBUG: DEFAULT ToolbarLayouts |FileEditOps FormatOps TableOps ExtraOps|FileEditOps FormatOps TableOps ExtraOps|
DEBUG: DEFAULT layoutMode |1|1|
DEBUG: DEFAULT AlwaysPromptEncoding |0|0|
DEBUG: DEFAULT SpellCheckDirectory |dictionary|dictionary|
DEBUG: DEFAULT StringSetDirectory |strings|strings|
DEBUG: DEFAULT ShowSplash |1|1|
DEBUG: DEFAULT DefaultDirectionRtl |0|0|
DEBUG: Building XAP_EncodingManager
DEBUG: This iconv supports UCS-2BE as "UCS-2BE"
DEBUG: This iconv supports UCS-2LE as "UCS-2LE"
DEBUG: This iconv supports UCS-4BE as "UCS-4BE"
DEBUG: This iconv supports UCS-4LE as "UCS-4LE"
DEBUG: using 'UCS-2LE' for UCS-2 internal
DEBUG: using 'UCS-4LE' for UCS-4 internal
DEBUG: EncodingManager reports the following
   NativeEncodingName is ISO-8859-1, LanguageISOName is en,
   Native8BitEncodingName is ISO-8859-1,
   LanguageISOTerritory is US,  fallbackchar is '?'
   TexPrologue follows:
---8<--------------
 --->8--------------
   WinLanguageCode is 0x0409, WinCharsetCode is 0
   cjk_locale 0, can_break_words 0, swap_utos 1, swap_stou 1
DEBUG: XAP_EncodingManager built
DEBUG: Could not open file /usr/local/share/AbiSuite-2.0/AbiWord/system.profile-ISO-8859-1
DEBUG: Problem reading (System Default Preferences) document
DEBUG: Could not open file /usr/local/share/AbiSuite-2.0/AbiWord/system.profile-en-US.ISO-8859-1
DEBUG: Problem reading (System Default Preferences) document
DEBUG: Preferences::setCurrentScheme [_builtin_].
DEBUG: Prefs: Using LOCALE info from environment [en-US]
DEBUG: Found preferences for application [AbiWord] (this is [AbiWord]).
DEBUG: Reserved scheme name [_builtin_] found in file; ignoring.
DEBUG: Found Preferences scheme [_custom_].
DEBUG: Preferences::setCurrentScheme [_custom_].
DEBUG: Loading Fonts
DEBUG: Scavange Fonts started
DEBUG: Scavange Fonts finished
DEBUG: Fonts Loaded
DEBUG: CreateMenuLabelSet: szLanguage_ en-US, szLanguage en-US
DEBUG: DOM: found -1 plugins in /usr/local/share/AbiSuite-2.0/AbiWord/plugins/
DEBUG: DOM: found -1 plugins in /home/line72/.AbiSuite/AbiWord/plugins/
DEBUG: RemapGlyphsTable[0]  0x2018 -> 0x0060
DEBUG: RemapGlyphsTable[1]  0x2019 -> 0x0027
DEBUG: RemapGlyphsTable[2]  0x201c -> 0x0026
DEBUG: RemapGlyphsTable[3]  0x0071 -> 0x0075
DEBUG: RemapGlyphsTable[4]  0x006f -> 0x0074
DEBUG: RemapGlyphsTable[5]  0x003b -> 0x201d
DEBUG: RemapGlyphsTable[6]  0x0026 -> 0x0071
DEBUG: RemapGlyphsTable[7]  0x0075 -> 0x006f
DEBUG: RemapGlyphsTable[8]  0x0074 -> 0x003b
DEBUG: AP_UnixFrame::initialize!!!!
DEBUG: AP_UnixFrame:: Initializing base classes!!!!
DEBUG: AP_UnixFrame:: Creating Toplevel Window!!!!
DEBUG: xap_UnixFrameImpl: app-width=800, app-height=600
DEBUG: xap_UnixFrameImpl: user-width=0, user-height=0
DEBUG: xap_UnixFrameImpl: pref-width=800, pref-height=600
DEBUG: xap_UnixFrameImpl: user-x=0, user-y=0
DEBUG: CreateMenuLabelSet: szLanguage_ en-US, szLanguage en-US

** ERROR **: Failed to match any font. This could be due to a broken Xft configuration, or if you run XFree 4.1.0 due to a bug in libXrender. For more information about this, read http://bugzilla.gnome.org/show_bug.cgi?id=68030

aborting...
/usr/local/bin/abiword: line 67: 20004 Aborted                 $ABISUITE_LIBEXEC/AbiWord_d "$@"


/Line72
Back to top
View user's profile Send private message
larman
n00b
n00b


Joined: 11 Aug 2002
Posts: 48

PostPosted: Mon Dec 23, 2002 1:27 pm    Post subject: the can't find fonts problem... Reply with quote

I had this problem, and when I compiled abiword with --enable-debug it said that it could not open a font, because it was searching for times12 and finding it in a file it could not open (pcf.gz). It has no fallback capability, so I had to change my /etc/fonts/fonts.conf so that the 75dpi and 100dpi fonts were excluded. This way it found a valid times12 font. However, this does not seem like the debug output that was posted above. This may fix someone's problem though.
I submitted this bug to abiword.

larman
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon Dec 23, 2002 7:48 pm    Post subject: Reply with quote

i can't print.

debug code after i hit print. i'm using the deafult options except i'm using lp instead of lpr since i'm using cups
Code:

DEBUG: fv_View:: Focus change focus = 1 selection 1
DEBUG: MARCM: Yes! We have a font cache HIT for font: Times New Roman-12pt:slant=0:weight=normal
DEBUG: FL_DocLayout::_toggleAutoSmartQuotes(false)
DEBUG: SEVIOR: Doing Populate Section in DocListener
DEBUG: fl_DocListener::populateStrux for '(null)'
DEBUG: column order: ltr
DEBUG: MARCM: Yes! We have a font cache HIT for font: Times New Roman-12pt:slant=0:weight=normal
DEBUG: MARCM: Yes! We have a font cache HIT for font: Times New Roman-12pt:slant=0:weight=normal
DEBUG: got page height 14400, footnote height 0
DEBUG: got page height 72000, footnote height 0
DEBUG: got page height 14400, footnote height 0
DEBUG: got page height 72000, footnote height 0
DEBUG: fv_View::draw() called with zero drawing area.
DEBUG: bEmbedFonts: 1
DEBUG: ps: Look at Embedding font number 0 name TIMES NEW ROMAN@0
DEBUG: PS: Aboiut to embed font TIMES NEW ROMAN@0
DEBUG: UnixFont::openPFA: opening file /usr/X11R6/lib/X11/fonts/truetype/times.ttf
/usr/local/bin/abiword: line 67: 15033 Broken pipe             $ABISUITE_LIBEXEC/AbiWord_d "$@"
bash-2.05a$

_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
silvercat
n00b
n00b


Joined: 07 Aug 2002
Posts: 54
Location: Canada

PostPosted: Tue Dec 24, 2002 8:50 pm    Post subject: Reply with quote

Well... now i have a different problem... i added the ebuilds for gnome 2.1.5 put out by foser... and now i can't even compile glib 2.2... this is the error i get..

Code:
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild    U ] dev-libs/glib-2.2.0 [2.1.3-r0]
[ebuild    U ] media-libs/fontconfig-2.1-r1 [2.1-r0]
[ebuild    U ] x11-libs/xft-2.0.1-r1 [2.0.1-r0]
[ebuild    U ] x11-libs/pango-1.2.0 [1.1.4-r0]
[ebuild    U ] dev-libs/atk-1.2.0 [1.1.3-r0]
[ebuild    U ] x11-libs/gtk+-2.2.0 [2.1.3-r0]
[ebuild  N   ] app-office/abiword-cvs-20021218


So now i have a different problem... and it seems to be related to libiconv in some way

Code:
gconvert.c:46:2: #error GNU libiconv not in use but included iconv.h is from libiconv
gconvert.c: In function `g_iconv':
gconvert.c:169: warning: passing arg 2 of `libiconv' from incompatible pointer type
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION   -pthread  -march=pentium2 -O3 -pipe -fomit-frame-pointer -Wall -c gdate.c
make[3]: *** [gconvert.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthread -march=pentium2 -O3 -pipe -fomit-frame-pointer -Wall -c gdate.c  -fPIC -DPIC -o gdate.lo
make[3]: Leaving directory `/var/tmp/portage/glib-2.2.0/work/glib-2.2.0/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.2.0/work/glib-2.2.0/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.2.0/work/glib-2.2.0'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: dev-libs/glib-2.2.0 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Jan 02, 2003 7:05 pm    Post subject: Reply with quote

I can't get this to build without gnome print. I have -gnome as a USE var and it still appears to use gnome pritn which crashes everytjhime i try to print. I merger 1.0.4 with -gnome and i prints now, but i'd like to use the cutting edge version since it seems to work fine.

i modified the ebuild and added this line:
Code:

        use gnome || buildopts="${buildopts} --without-gnome --disable-gnome"

but the printing still fails.
Back to top
View user's profile Send private message
heijs
Apprentice
Apprentice


Joined: 12 Jun 2002
Posts: 174
Location: Groningen

PostPosted: Fri Jan 03, 2003 10:39 am    Post subject: Reply with quote

I noticed something funny, I emerge abiword-cvs some time ago, but it wasn't working because of my font.conf (or something), but now with the new glib-2.2.0, pango-1.2.0 and gtk+-2.2.0 it works perfectly!

I don't really understand, for my font.conf is the same (at least I think it is)...
Back to top
View user's profile Send private message
Cleotis
n00b
n00b


Joined: 09 Aug 2002
Posts: 53
Location: Belgium

PostPosted: Sun Jan 05, 2003 7:38 pm    Post subject: Reply with quote

The ebuild seems to work here just fine :) Thanks a lot!

Let me know if I have to test something...
Back to top
View user's profile Send private message
max_colby
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 149
Location: Ottawa, Canada

PostPosted: Fri Jan 17, 2003 6:08 am    Post subject: Reply with quote

Can anyone compile abiword-cvs with perl 5.8.0 installed? According to some threads on the Abiword mailing list, this should work, but I haven't had any luck. Downgrading to perl 5.6.1 allows abiword-cvs to compile though.

Also commenting out the line "--enable-debug" in the ebuild speeds up Abiword by a noticable amount.

Thank you for a great ebuild!
Back to top
View user's profile Send private message
Cleotis
n00b
n00b


Joined: 09 Aug 2002
Posts: 53
Location: Belgium

PostPosted: Fri Jan 17, 2003 10:20 am    Post subject: Reply with quote

max_colby wrote:
Can anyone compile abiword-cvs with perl 5.8.0 installed?


Nope, no luck here either
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Fri Jan 17, 2003 1:50 pm    Post subject: Reply with quote

No go for me either (perl 5.8.0)
_________________
-Phil Crosby
Back to top
View user's profile Send private message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Fri Jan 17, 2003 7:19 pm    Post subject: Reply with quote

odd, for me it just sits there at the cvs command
Back to top
View user's profile Send private message
max_colby
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 149
Location: Ottawa, Canada

PostPosted: Fri Jan 17, 2003 11:35 pm    Post subject: Reply with quote

kappax wrote:
odd, for me it just sits there at the cvs command

I've found the Abiword CVS server to be extremely slow. The same thing happens to me quite often, but trying again later always fixes thing.

As for the perl bug, I'm going to file a bug report against this over the weekend. The developers intend to package a new developer release (1.1.3) sometime next week, so this would be a nice issue to have fixed.
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Sat Jan 18, 2003 4:41 pm    Post subject: Reply with quote

kappax wrote:
odd, for me it just sits there at the cvs command


If you run it a 2nd time, delete the cvs-src directory or it will be stuck there.
(/usr/portage/distfiles/cvs-src)
Back to top
View user's profile Send private message
max_colby
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 149
Location: Ottawa, Canada

PostPosted: Mon Jan 20, 2003 4:33 am    Post subject: Reply with quote

According to The Abiword devs, Abiword-cvs not compiling against Perl 5.8.0 is a Gentoo bug. Apparently this is know by the Gentoo devs though
Back to top
View user's profile Send private message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Mon Jan 20, 2003 4:38 am    Post subject: Reply with quote

for me it compiles now, but when i start it it talks about not being about to find fonts. :(
_________________
My Box
glxgears - 4083.400 FPS
OS: GNU/Linux
Distro: Gentoo
kernel: 2.6.0-test9-mm2
----------------------
vi makes me :wq in word pad :(
Back to top
View user's profile Send private message
lars3loff
n00b
n00b


Joined: 24 Oct 2002
Posts: 46
Location: Potsdam, Germany

PostPosted: Mon Jan 20, 2003 10:17 am    Post subject: Fonts solved for me Reply with quote

Hi,

I found an solution for the fonts problem. At least it works for me.

Change this line:
Code:

<dir>/usr/X11R6/lib/X11/fonts</dir>

to this:
Code:

<dir>/usr/X11R6/lib/X11/fonts/truetype</dir>

in your fonts.conf and it works.

Portage will overwrite fonts.conf when updating fontconfig, so hope that the problem will be fixed soon.
_________________
Lars Trieloff


Last edited by lars3loff on Mon Jan 20, 2003 10:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Mon Jan 20, 2003 3:01 pm    Post subject: Re: Fonts solved for me Reply with quote

lars3loff wrote:
Hi,

I found an solution for the fonts problem. At least it works for me.

Change this line:
Code:

<dir>/usr/X11R6/lib/X11/fonts</dir>

to this:
Code:

<dir>/usr/X11R6/lib/X11/fonts</dir>

in your fonts.conf and it works.

Portage will overwrite fonts.conf when updating fontconfig, so hope that the problem will be fixed soon.


heh I am sorry but i dont see any difference in thoes 2 lines that you posted.
_________________
My Box
glxgears - 4083.400 FPS
OS: GNU/Linux
Distro: Gentoo
kernel: 2.6.0-test9-mm2
----------------------
vi makes me :wq in word pad :(
Back to top
View user's profile Send private message
lars3loff
n00b
n00b


Joined: 24 Oct 2002
Posts: 46
Location: Potsdam, Germany

PostPosted: Mon Jan 20, 2003 10:42 pm    Post subject: Reply with quote

that is right, and fixed.

sorry
_________________
Lars Trieloff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

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