Author Topic: ncurses  (Read 6615 times)

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
ncurses
« on: August 20, 2010, 11:57:51 PM »
Building ncmpcpp against the new ncurses, I get the following error message :

Code: [Select]
checking for ncurses5-config... /usr/local/bin/ncurses5-config
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... no
configure: error: ncurses library is required

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #1 on: August 21, 2010, 12:10:30 AM »
Did you install ncurses-dev.tcz ?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #2 on: August 21, 2010, 12:18:18 AM »
yes.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #3 on: August 21, 2010, 12:21:23 AM »
Will check it later today.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #4 on: August 21, 2010, 01:16:29 AM »
Another note: Starting mc fails with:

mc: symbol lookup error: /usr/local/lib/libncurses.so.5: undefined symbol: newscr

In addition, the extension fuse in the repo seems to be broken. Message on update :

Error occurred. fuse.tcz Not updated!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #5 on: August 21, 2010, 01:32:47 AM »
Yes there is a problem with the latest upgrade. I'm just making a new version. Sorry for the issue. Wait a bit for the new one.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #6 on: August 21, 2010, 04:20:22 AM »
Bug fix version sent for submission. It is tested with current application and also compiled applications against it, looks OK. Hope it will solve your compilation problem.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: ncurses
« Reply #7 on: August 21, 2010, 05:51:42 AM »
@bela: congrats to your 1500th post... always good to see when it's a problem solver :D

submission is hopefully soon available, since every extension with ncurses as dep seems to be broken atm (tested with apache2 too, same error) ;)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #8 on: August 21, 2010, 06:04:00 AM »
@bela: congrats to your 1500th post... always good to see when it's a problem solver :D

submission is hopefully soon available, since every extension with ncurses as dep seems to be broken atm (tested with apache2 too, same error) ;)

Thanks! For sure it will be available soon. It is interesting why apache need ncurses....
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: ncurses
« Reply #9 on: August 21, 2010, 07:18:36 AM »
I am getting ready to upload the latest ncurses sent in, but I am not seeing those issues with mc and apache.  None of my apps are having problems, some of them include bash, pidgin, xine-ui, zsnes, siag, joe, etc, and all depend on libncurses.so.5.  Runtime seems fine here for my installation, though I have not tried to compile against the new ncurses.

Make sure you remove the old ncurses-lib, ncurses-utils, ncurses-lib-dev extensions or you will run into issues when the updated ncurses.tcz is installed.

Uploading the newly sent one now.

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: ncurses
« Reply #10 on: August 21, 2010, 07:34:13 AM »
@Jason: I booted with base norestore, loaded apache2 from repo and tried apachectl -k start, there again symbol lookup error newscr for /usr/local/lib/libncurses.so.5. When I manually remove ncurses and use the /lib/libncurses.so.5 from base, apache works.

Maybe you're using an "older" version, which worked? ;-)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: ncurses
« Reply #11 on: August 21, 2010, 07:54:14 AM »
Here is my output, I ran a tce-update yesterday and have not updated to the newly uploaded ncurses yet - I just uploaded it now:

Code: [Select]
tc@box:~$ apachectl -k start
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
tc@box:~$


Of course, I don't have apache set up but there is no lib issues. 

Also, booting "base norestore" and downloading and running apache also works as above after the new extension has been uploaded, but it also works with first loading the previous ncurses extension.

I am not sure what the explanation is, but try again now that the new ncurses has been uploaded. 

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses
« Reply #12 on: August 21, 2010, 08:16:58 AM »
I could replicate the error on my system and it was related to the upgrade. To be honest do not know the root cause of the issue but a new compilation on a clean system resulted a working extension, at least here it works fine.

Please let me know if there is still a problem or confirm that it's back to normal operation.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: ncurses
« Reply #13 on: August 21, 2010, 08:21:38 AM »
I'll do when the new ncurses is available in the repo.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: ncurses
« Reply #14 on: August 21, 2010, 08:30:03 AM »
The latest version is in the repo, uploaded about 30min ago.