WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ncurses and ncurses-dev  (Read 2150 times)

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
ncurses and ncurses-dev
« on: October 08, 2010, 11:21:10 AM »
ncurses is missing libtermcap, this just needs to be a link to libncurses:
Code: [Select]
sudo ln -s libncurses.so /usr/local/lib/libtermcap.so
ncurses-dev has its startup script named ncurses so it does run if ncurses-dev is installed after ncurses. Also the current ncurses-dev startup script manually links every header and static lib in /usr/local from ncurses to /usr/lib. Couldn't this be done with:
Code: [Select]
cp -as /tmp/tcloop/ncurses-dev/usr/local/include /usr
cp -as /tmp/tcloop/ncurses-dev/usr/local/lib /usr
or include the links in the extension itself?

Edit: ncurses-dev startup script does not run, forgot the not  ::)
« Last Edit: October 08, 2010, 12:40:20 PM by robc »
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: ncurses and ncurses-dev
« Reply #1 on: October 08, 2010, 11:53:10 AM »
Thanks for feedback, will take care.
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 and ncurses-dev
« Reply #2 on: October 08, 2010, 12:46:36 PM »
Couldn't this be done with:
Code: [Select]
cp -as /tmp/tcloop/ncurses-dev/usr/local/include /usr
cp -as /tmp/tcloop/ncurses-dev/usr/local/lib /usr

Just a technical note, your solution expects mounted extension and doesn't work when copied to RAM.
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 and ncurses-dev
« Reply #3 on: October 08, 2010, 01:08:04 PM »

or include the links in the extension itself?


No, if you want to keep it PPI compatible.
Béla
Ham Radio callsign: HA5DI

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

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: ncurses and ncurses-dev
« Reply #4 on: October 08, 2010, 02:07:12 PM »
Couldn't this be done with:
Code: [Select]
cp -as /tmp/tcloop/ncurses-dev/usr/local/include /usr
cp -as /tmp/tcloop/ncurses-dev/usr/local/lib /usr

Just a technical note, your solution expects mounted extension and doesn't work when copied to RAM.
Good point, it looks like the startup scripts are ran after the extension has unmounted in a copy to RAM setup.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard