OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Beeswax - Install Issue
ArchiMark
post Nov 10 2015, 06:52 AM
Post #1





Group: Admin
Posts: 1,648
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Found what appears to be a nice little outliner app but having an issue getting it installed....

Maybe someone can advise....

App installation instructions can be found here:

http://waxandwane.org/beeswax/installation.html

When I do 'make' (from inside beeswax directory) I get:

CODE
# make
beeswax build options:
CFLAGS   = -Os -I, -I/usr/include -I/usr/include/libxml2 -DIVERSION="0.2.0"
LDFLAGS = -s -L/usr/lib -lxml2 -lz -ldl -lncurses -lreadline -luuid
CC          =  cc
CC main.c
In file included from main.c:22:0:
beeswax.h:20:28: fatal error:  ncurses/curses.h: No such file or directory
compilation terminated.
Makefile:21: recipe for target 'main.o' failed
make: *** [main.o] Error 1


Per comment in instructions for installing on Mac OSX, I changed the line in 'beeswax.h' file to say 'ncurses' instead of 'ncursesw' as there is no 'ncursesw' available for ALARM that I can find either via pacman or packer.

Also, I set the development flags to be like this (taken from planetofidiots.com):

CODE
export CPPFLAGS=""
export CFLAGS="-mcpu=xscale -mtune=xscale -O2"
export CXXFLAGS="-mcpu=xscale -mtune=xscale -O2"


The 'fatal error' refers to 'ncurses/curses.h' not being found. In the beeswax directory I do not see a 'curses.h' file, but I do see a 'curses.c' file.

Any suggestions?

Thanks.
Go to the top of the page
 
+Quote Post
danboid
post Nov 10 2015, 09:18 AM
Post #2





Group: Members
Posts: 881
Joined: 26-December 05
From: England
Member No.: 8,789



Have you got ncurses installed? That contains curses.h, otherwise you may have to find where curses.h is and add the path to your INCLUDE statements.

pkgfile is your frend for stuff like this.

Well done on finding an app NOT in the AUR! biggrin.gif
Go to the top of the page
 
+Quote Post
ArchiMark
post Nov 10 2015, 12:20 PM
Post #3





Group: Admin
Posts: 1,648
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(danboid @ Nov 10 2015, 09:18 AM) *
Have you got ncurses installed?


Yes, ncurses is installed....

QUOTE
That contains curses.h, otherwise you may have to find where curses.h is and add the path to your INCLUDE statements.


OK, I get it......thanks.....


QUOTE
pkgfile is your frend for stuff like this.


Yes, you're right.....been a while since I did this....thanks for the reminder.....

QUOTE
Well done on finding an app NOT in the AUR! biggrin.gif


Thank you....

Been checking out various websites regarding console CLI, ncurses, etc, apps....since X is not viable yet.....
And then one app somehow leads to another.....as I dig around online....

Fun....
Go to the top of the page
 
+Quote Post
ArchiMark
post Nov 10 2015, 09:03 PM
Post #4





Group: Admin
Posts: 1,648
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Located 'curses.h'

Added PATH to it in 'beeswax.h'

Ran make:

CODE
# make
beeswax build options:
CFLAGS   = -Os -I, -I/usr/include -I/usr/include/libxml2 -DIVERSION="0.2.0"
LDFLAGS = -s -L/usr/lib -lxml2 -lz -ldl -lncurses -lreadline -luuid
CC          =  cc
CC main.c
CC init.c
CC xml.c
CC curses.c
CC display.c

display.c: In function 'displayLine':  type name 'wint_t'
win_t bullet, note;
                                                                                 ^
Makefile:21: recipe for target 'display.o' failed

make: *** [display.o] Error 1


So, got a bit further......but......

UPDATE

Figured it out....

Added these to beeswax.h:

#include <wchar.h>
#include <stdint.h>

So, good news is that I was able to build Beeswax.....

Bad news is that when I try to run in either console or twm, it doesn't run properly.....

The screen just flashes the Beeswax program headings for a split second on and off......after quitting program, I see:

CODE
Initial item
segmentation fault (core dumped)


So, looks like some debugging is needed.......

This post has been edited by ArchiMark: Nov 11 2015, 08:02 AM
Reason for edit: Added UPDATE info
Go to the top of the page
 
+Quote Post
greguu
post Dec 8 2015, 01:54 AM
Post #5





Group: Moderators
Posts: 374
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(ArchiMark @ Nov 11 2015, 06:03 AM) *
Located 'curses.h'

Added PATH to it in 'beeswax.h'

Ran make:

CODE
# make
beeswax build options:
CFLAGS   = -Os -I, -I/usr/include -I/usr/include/libxml2 -DIVERSION="0.2.0"
LDFLAGS = -s -L/usr/lib -lxml2 -lz -ldl -lncurses -lreadline -luuid
CC          =  cc
CC main.c
CC init.c
CC xml.c
CC curses.c
CC display.c

display.c: In function 'displayLine':  type name 'wint_t'
win_t bullet, note;
                                                                                 ^
Makefile:21: recipe for target 'display.o' failed

make: *** [display.o] Error 1


So, got a bit further......but......

UPDATE

Figured it out....

Added these to beeswax.h:

#include <wchar.h>
#include <stdint.h>

So, good news is that I was able to build Beeswax.....

Bad news is that when I try to run in either console or twm, it doesn't run properly.....

The screen just flashes the Beeswax program headings for a split second on and off......after quitting program, I see:

CODE
Initial item
segmentation fault (core dumped)


So, looks like some debugging is needed.......


Hi ArchiMark,

again, I might not be much of help, but did you compile natively on the Z ?

The app you tried to compile is quite old, maybe even not maintained anymore and therefore incompatible.

Maybe another application, that is available in the arch repo does the same job ?

Cheers.
Go to the top of the page
 
+Quote Post
ArchiMark
post Dec 8 2015, 06:31 AM
Post #6





Group: Admin
Posts: 1,648
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Yes, I compiled on Z......

You're right that program is old.....sent email to developer, but never got reply....he probably stopped supporting it long time ago...

In meantime, I have found other programs....

Thanks for your input, daalnroti!

Mark
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th November 2019 - 12:20 PM