You are not logged in.

#1 2008-08-18 07:55:10

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

[SOLVED] 'wordgrinder' package build fails

I'm trying to build a package out of this program here: http://aur.archlinux.org/packages.php?ID=17015

I download the tarball, extract it into my builds directory, enter the wordgrinder directory and enter 'makepkg -s'. I've only done this sort of thing once or twice but it worked then. This time, however, it ends with a build error:

(... lots of patching lines...)
pm: bootstrapping...
modemuncher.h:4: warning: cast from pointer to integer of different size
pm: creating new intermediate file cache in '.pm-cache'
gcc "-Wall" "-Os"  "-I/usr/include/ncursesw" "-I/usr/include/lua" "-D_XOPEN_SOURCE_EXTENDED" "-D_XOPEN_SOURCE" "-DVERSION=\"0.2\"" "-DFILEFORMAT=2" "-DPREFIX=\"/usr\"" "-DNDEBUG"  -c -o ".pm-cache/1-utils.o" "src/c/utils.c"
src/c/utils.c: In function 'readu8_cb':
src/c/utils.c:93: warning: implicit declaration of function 'lua_tointeger'
src/c/utils.c: In function 'writeu8_cb':
src/c/utils.c:107: warning: implicit declaration of function 'luaL_checkinteger'
src/c/utils.c: In function 'utils_init':
src/c/utils.c:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'funcs'
src/c/utils.c:168: error: 'funcs' undeclared (first use in this function)
src/c/utils.c:168: error: (Each undeclared identifier is reported only once
src/c/utils.c:168: error: for each function it appears in.)
src/c/utils.c:168: error: expected expression before ']' token
src/c/utils.c:177: warning: implicit declaration of function 'luaL_register'
rm -f ".pm-cache/1-utils.o"
pm: object 'cfile', defined at pmfile:71, failed to build with return code 256
==> ERROR: Build Failed.
    Aborting...

Can anybody tell me what's going wrong?

Last edited by chochem (2008-08-19 09:40:39)

Offline

#2 2008-08-18 08:15:09

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: [SOLVED] 'wordgrinder' package build fails

Compiles fine here, did makepkg install lua and luafilesystem?

Offline

#3 2008-08-18 08:26:19

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

Re: [SOLVED] 'wordgrinder' package build fails

I already did that myself.... Using AUR is a fallback from having tried to build it from the most recent source myself...

Just checked with pacman... Somehow, somewhere, the 'lua' had been uninstalled... ??? Either that or I jsut hallucinated installing it... Strange... Anyway, wordgrinder compiles fine, now. Sorry about that...

Last edited by chochem (2008-08-18 08:44:15)

Offline

#4 2008-08-18 09:38:58

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: [SOLVED] 'wordgrinder' package build fails

chochem wrote:

I already did that myself.... Using AUR is a fallback from having tried to build it from the most recent source myself...

Just checked with pacman... Somehow, somewhere, the 'lua' had been uninstalled... ??? Either that or I jsut hallucinated installing it... Strange... Anyway, wordgrinder compiles fine, now. Sorry about that...

No problem, I just wonder why it wasn't installed by makepkg, as luafilesystem depends on lua.

Offline

#5 2008-08-18 10:47:03

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] 'wordgrinder' package build fails

Does backspace work for you as expected? (see this thread somewhere at the end)

Offline

#6 2008-08-18 11:45:34

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: [SOLVED] 'wordgrinder' package build fails

Stefan Husmann wrote:

Does backspace work for you as expected? (see this thread somewhere at the end)

Works as expected here.

Offline

#7 2008-08-18 13:02:02

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] 'wordgrinder' package build fails

Hm, there is a new lua. Maybe I should give worgrinder a new try then. Thank you.

Offline

#8 2008-08-18 18:34:43

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

Re: [SOLVED] 'wordgrinder' package build fails

Stefan Husmann wrote:

Does backspace work for you as expected? (see this thread somewhere at the end)

It did once I configured roxterm to interpret backspace as ctrl-h (recalled this as being an issue with running gnu screen in xfce4-terminal).

BTW I was beta-testing the new version (0.3) while I was on Ubuntu and it looks quite impressive. Some neat new features, such as being able to navigate the document by headline-structure, easy moving text in between documents - introducing the Scrapbook - and possibly even... wait for it... undo (no promises, though). Sadly it says orphaned in AUR so Iguess it might be a while before it's available on Arch...

Offline

#9 2008-08-18 19:12:56

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: [SOLVED] 'wordgrinder' package build fails

chochem wrote:

BTW I was beta-testing the new version (0.3) while I was on Ubuntu and it looks quite impressive. Some neat new features, such as being able to navigate the document by headline-structure, easy moving text in between documents - introducing the Scrapbook - and possibly even... wait for it... undo (no promises, though). Sadly it says orphaned in AUR so Iguess it might be a while before it's available on Arch...

I adopted it smile . I'll update it to 0.3 as soon as there is a release. As orphaned packages in AUR are free for anyone to adopt, you could have done this as well.

Offline

#10 2008-08-18 19:40:18

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

Re: [SOLVED] 'wordgrinder' package build fails

Garns wrote:
chochem wrote:

BTW I was beta-testing the new version (0.3) while I was on Ubuntu and it looks quite impressive. Some neat new features, such as being able to navigate the document by headline-structure, easy moving text in between documents - introducing the Scrapbook - and possibly even... wait for it... undo (no promises, though). Sadly it says orphaned in AUR so Iguess it might be a while before it's available on Arch...

I adopted it smile . I'll update it to 0.3 as soon as there is a release. As orphaned packages in AUR are free for anyone to adopt, you could have done this as well.

Cool, thanks smile Yes, well but ... seeing as today is Day Two of my entire Arch experience, I figured I'd wait a bit before inflicting my workmanship on others. Funny thing is, I found out, I'm already contributing unwittingly: Searching AUR for MPD stuff, I found that somebody had posted a link to some old bash script hacks I've done big_smile

Offline

#11 2008-08-18 19:54:27

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: [SOLVED] 'wordgrinder' package build fails

chochem wrote:

Cool, thanks smile Yes, well but ... seeing as today is Day Two of my entire Arch experience, I figured I'd wait a bit before inflicting my workmanship on others. Funny thing is, I found out, I'm already contributing unwittingly: Searching AUR for MPD stuff, I found that somebody had posted a link to some old bash script hacks I've done big_smile

Fair enough, but as I won't really use it, feel free to chime in any time smile .

Offline

#12 2008-08-18 20:52:57

chochem
Member
From: Denmark
Registered: 2008-03-02
Posts: 176
Website

Re: [SOLVED] 'wordgrinder' package build fails

Garns wrote:

Fair enough, but as I won't really use it, feel free to chime in any time smile .

As soon as I get my bearings smile

Offline

Board footer

Powered by FluxBB