WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: installing workrave on tc  (Read 4575 times)

Offline nutjob16

  • Newbie
  • *
  • Posts: 6
installing workrave on tc
« on: September 10, 2010, 10:43:02 AM »
Hello,

I tried to install workrave and I was running into a few issues.  I'm used to installing workrave from the debian repositories... 

I downloaded the source code and I tried installing the dependencies with the Appbrowser, but some would not install, giving me an error "Cannot allocate memory"

Just wondering if anyone had any advice for me.  I'm new to Tiny Core. 

Thanks,

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: installing workrave on tc
« Reply #1 on: September 10, 2010, 11:08:13 AM »
What sort of machine are you using (cpu, ram), which version of tinycore are you using and which extensions gave you problems?

Offline nutjob16

  • Newbie
  • *
  • Posts: 6
Re: installing workrave on tc
« Reply #2 on: September 10, 2010, 12:09:07 PM »
I am using a PII with 128 MB.  I am using the latest version of tc (3.0). 

The packages I had a problem with were libgnomeuimm, GDome. 

At first, I even had a problem installing gcc.  Then I rebooted and was able to install.  I tried to do a ./configure and it gave me an error "C compiler cannot create executables". 


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: installing workrave on tc
« Reply #3 on: September 10, 2010, 12:32:15 PM »
Do you have swap?
The only barriers that can stop you are the ones you create yourself.

Offline nutjob16

  • Newbie
  • *
  • Posts: 6
Re: installing workrave on tc
« Reply #4 on: September 10, 2010, 12:44:42 PM »
I do have a swap set up, but I'm not sure if it is being used.  I installed over another distro and left the partitions as is.  Do I have to do anything special to have the swap recognized? 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: installing workrave on tc
« Reply #5 on: September 10, 2010, 12:55:33 PM »
Code: [Select]
swapon /dev/XdN
or
Code: [Select]
swapon /path/to/swapfile
check with
Code: [Select]
free
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline nutjob16

  • Newbie
  • *
  • Posts: 6
Re: installing workrave on tc
« Reply #6 on: September 10, 2010, 01:07:36 PM »
Looks like I might already be using the swap. 

I typed in "free" and got...


                        total         used         free       shared      buffers
  Mem:       125088       122544         2544            0         3228
 Swap:        31260        11740        19520
Total:       156348       134284        22064



Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: installing workrave on tc
« Reply #7 on: September 10, 2010, 01:08:47 PM »
No, that is the in-ram swap of TC 3.x.

cat /proc/swaps
The only barriers that can stop you are the ones you create yourself.

Offline nutjob16

  • Newbie
  • *
  • Posts: 6
Re: installing workrave on tc
« Reply #8 on: September 10, 2010, 01:44:09 PM »
Okay, I ran the swapon command and I believe it worked.  I didn't receive any feedback.  I was able to install libgnomeui.  However, libgnomeuimm and GDome do not appear in the Appbrowser. 

Also, I tried to ./configure again and it is still giving me the "C compiler cannot create executables" error again. 

I took a look in the config.log file for workrave and I wasn't able to get anything out of it. 


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: installing workrave on tc
« Reply #9 on: September 10, 2010, 02:22:36 PM »
I was able to install libgnomeui.  However, libgnomeuimm and GDome do not appear in the Appbrowser.

I had a look at compiling libgnomeuimm at one point, I'll check if I actually did it - of course nothing stops you from compiling it...

Quote
Also, I tried to ./configure again and it is still giving me the "C compiler cannot create executables" error again. 

To set up to compile in tc you need to load the compiletc meta-extension, which will load everything normally required to compile - gcc on its own will not work.

Offline nutjob16

  • Newbie
  • *
  • Posts: 6
Re: installing workrave on tc
« Reply #10 on: September 10, 2010, 03:20:48 PM »
The compiletc package worked, or at least got me farther.  I'm hoping those other packages are optional... 

configure is now telling me that there is no X.  Would that be because xorg isn't installed? 

This seems like its more trouble than its worth.   

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: installing workrave on tc
« Reply #11 on: September 10, 2010, 05:10:04 PM »
Most likely it needs X dev stuff.  You could try xorg-7.5-dev

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: installing workrave on tc
« Reply #12 on: September 11, 2010, 03:25:41 AM »
I had a look at compiling libgnomeuimm at one point, I'll check if I actually did it - of course nothing stops you from compiling it...

I never posted libgnomeuimm - I'll recompile against the latest extension updates and post

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: installing workrave on tc
« Reply #13 on: September 11, 2010, 06:20:17 AM »
libgnomeuimm posted

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: installing workrave on tc
« Reply #14 on: September 11, 2010, 07:34:54 AM »
gdome2 posted