LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2008, 08:18 PM   #1
zoba
LQ Newbie
 
Registered: Dec 2006
Posts: 15

Rep: Reputation: 0
installing smallbasic version 10 on mandriva 2008


there is a new version of smallbasic and I am trying to install using the regular procedure ./configure, make, make install.
However at the "make" stage the procedure fails and I obtain the following

../dev_term.c:26:18: erreur: term.h : Aucun fichier ou répertoire de ce type
../dev_term.c: In function ‘term_build_kbtable’:
../dev_term.c:320: attention : passing argument 1 of ‘term_addkey’ makes pointer from integer without a cast
../dev_term.c: In function ‘term_build_cmds’:
../dev_term.c:387: attention : passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
make[2]: *** [dev_term.o] Erreur 1
make[2]: quittant le répertoire « /home/van34/smallbasic-0.10.0/src/unix »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/van34/smallbasic-0.10.0 »
make: *** [all] Erreur 2
can anybody help me in interpreting these lines and about a possible solution?
I have not been successful in obtaining an
swers but perhaps I will succeed this time,
thanks,
zoba
 
Old 08-12-2008, 02:25 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
It seems to be the problem is with the actual program source itself - look at the "dev_term.c" file (lines 320 and 387) and see if you can fix up those errors - cast the integer to a pointer, or declare the variable in question as a pointer to an integer:
Code:
...
int * var_in_question;
...

Last edited by indienick; 08-12-2008 at 02:26 PM.
 
Old 08-13-2008, 06:20 AM   #3
plunker
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by zoba View Post
there is a new version of smallbasic and I am trying to install using the regular procedure ./configure, make, make install.
However at the "make" stage the procedure fails and I obtain the following

../dev_term.c:26:18: erreur: term.h : Aucun fichier ou répertoire de ce type
../dev_term.c: In function ‘term_build_kbtable’:
../dev_term.c:320: attention : passing argument 1 of ‘term_addkey’ makes pointer from integer without a cast
../dev_term.c: In function ‘term_build_cmds’:
../dev_term.c:387: attention : passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
make[2]: *** [dev_term.o] Erreur 1
make[2]: quittant le répertoire « /home/van34/smallbasic-0.10.0/src/unix »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/van34/smallbasic-0.10.0 »
make: *** [all] Erreur 2
can anybody help me in interpreting these lines and about a possible solution?
I have not been successful in obtaining an
swers but perhaps I will succeed this time,
thanks,
zoba
Hi Zoba,

I think the error is that you don't have term.h on your system. You will need to install the libncurses library to get around this problem. Ideally the configure script would have told you this
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Mandriva 2008 kernel - version: 2.6.22.9-desktop586-1mdv damian_dm@hotmail.co Linux - Newbie 3 05-02-2008 04:05 AM
LXer: The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) LXer Syndicated Linux News 0 04-10-2008 05:10 PM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 08:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 10:41 PM
installing smallbasic on linux mandriva 2006 zoba Linux - General 3 03-21-2007 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration