You are not logged in.

#1 2006-09-10 02:59:13

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Package Request: Zthread

Well, this is my second package request (requested openwebmail a while back), and this time I am asking for something that would really have a benefit to others. I need an app called zthread, which is a dependency of quite a few apps apparantly (it has its own wikipedia stub). I can't get the latest version to compile. At all. And I don't know enough C to fix it (if only you could write these apps in php smile). This isn't completely necessary, but I think it would make a lot of people's days easier (or such is my impression).
Thanks,
Andrew

Offline

#2 2006-09-10 03:20:22

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Package Request: Zthread

you'll have better luck if you can provide a link.

Dusty

Offline

#3 2006-09-10 04:49:43

Cirdan
Member
Registered: 2006-03-18
Posts: 64

Re: Package Request: Zthread

http://zthread.sourceforge.net/

I'll take a look at it. I've never made a PKGBUILD before...maby I'll try this one out for size?  8)

EDIT

I downloaded and tried to build it. I get an error in one of the header files...

../include/zthread/Guard.h: In destructor 'ZThread::Guard<LockType>::~Guard()':
../include/zthread/Guard.h:494: error: there are no arguments to 'isDisabled' that depend on a template parameter, so a declaration of 'isDisabled' must be available
../include/zthread/Guard.h:494: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

 

try {

    if(!isDisabled()) // Line 494 Guard.h
      LockingPolicy::destroyScope(*this);

  } catch (...) { /* ignore */ }

Its whining that isDisabled() has no arguments, it doesn't, but its not being given any on that line. I'm not sure how to modify the Makefile to add -fpermissive to g++. I'm not THAT knowladgeable when it comes to c++, but I can under stand it and have yet to learn templates...

Offline

#4 2006-09-10 16:12:08

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Package Request: Zthread

Yes, that is the error I'm getting, and while I know some C (coded for a mud for a while), but I really know nothing about makefiles/c++. I have emailed the author, but have gotten no response as of yet... Really don't know how to proceed from here, so I asked for a package of it.

Offline

#5 2006-09-10 17:28:31

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Package Request: Zthread

That library is from march 2005, chances are the code is not compatible with gcc 4.x .
You could try compiling it with gcc3 from aur.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2006-09-10 18:15:51

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Package Request: Zthread

I'm working on this - I should have a patch shortly.

Offline

#7 2006-09-10 18:52:49

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Package Request: Zthread

See http://aur.archlinux.org/packages.php?d … =1&ID=6740

Once I got the patch done, I just kept on going and made a good PKGBUILD out of it.

Offline

Board footer

Powered by FluxBB