./configure error at compiling source code

Everything about the installation and compilation

Moderator: feffer

Post Reply
Andreas

./configure error at compiling source code

Post by Andreas » Mon Jan 16, 2006 12:09 pm

Hello,
At installing part image-0.6.4 on my SuSE 9.3 system, I get ./configure error:
configure: error: *** newt library (libnewt) not found

After downloading libnewt and installing newt-0.50. I get this at ./configure:
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

and this at compiling newt-0.50:
duronsuse:~/newt-0.50/newt-0.50 # make
cc -Wall -I/usr/include/slang -g -DVERSION=\"0.50\" -c -o newt.o newt.c
newt.c:1:19: slang.h: No such file or directory
newt.c: In function `newtFlushInput':
newt.c:140: warning: implicit declaration of function `SLang_input_pending'
newt.c:141: warning: implicit declaration of function `SLang_getkey'
newt.c: In function `newtRefresh':
newt.c:146: warning: implicit declaration of function `SLsmg_refresh'
newt.c: In function `newtSuspend':
newt.c:150: warning: implicit declaration of function `SLsmg_suspend_smg'
newt.c:151: warning: implicit declaration of function `SLang_reset_tty'
newt.c: In function `newtResume':
newt.c:155: warning: implicit declaration of function `SLsmg_resume_smg'
newt.c:157: warning: implicit declaration of function `SLang_init_tty'
newt.c: In function `newtCls':
newt.c:161: warning: implicit declaration of function `SLsmg_set_color'
newt.c:162: warning: implicit declaration of function `SLsmg_gotorc'
newt.c:163: warning: implicit declaration of function `SLsmg_erase_eos'
newt.c: In function `newtResizeScreen':
newt.c:171: warning: implicit declaration of function `SLtt_get_screen_size'
newt.c:174: warning: implicit declaration of function `SLsmg_touch_lines'
newt.c:174: error: `SLtt_Screen_Rows' undeclared (first use in this function)
newt.c:174: error: (Each undeclared identifier is reported only once
newt.c:174: error: for each function it appears in.)
newt.c: In function `newtInit':
newt.c:191: warning: implicit declaration of function `SLtt_get_terminfo'
newt.c:196: error: `SLtt_Use_Ansi_Colors' undeclared (first use in this function)
newt.c:201: warning: implicit declaration of function `SLsmg_init_smg'
newt.c:213: warning: implicit declaration of function `SLsignal_intr'
newt.c:214: error: `SLang_getkey_intr_hook' undeclared (first use in this function)
newt.c: In function `newtFinished':
newt.c:222: error: `SLtt_Screen_Rows' undeclared (first use in this function)
newt.c:224: warning: implicit declaration of function `SLsmg_reset_smg'
newt.c: In function `newtSetColors':
newt.c:231: warning: implicit declaration of function `SLtt_set_color'
newt.c: In function `newtGetKey':
newt.c:350: warning: implicit declaration of function `SLang_ungetkey'
newt.c: In function `newtOpenWindow':
newt.c:395: warning: implicit declaration of function `SLsmg_read_raw'
newt.c:401: warning: implicit declaration of function `SLsmg_draw_box'
newt.c:407: warning: implicit declaration of function `SLsmg_set_char_set'
newt.c:408: warning: implicit declaration of function `SLsmg_write_char'
newt.c:408: error: `SLSMG_RTEE_CHAR' undeclared (first use in this function)
newt.c:412: warning: implicit declaration of function `SLsmg_write_string'
newt.c:416: error: `SLSMG_LTEE_CHAR' undeclared (first use in this function)
newt.c:421: warning: implicit declaration of function `SLsmg_fill_region'
newt.c: In function `newtCenteredWindow':
newt.c:438: error: `SLtt_Screen_Rows' undeclared (first use in this function)
newt.c:443: error: `SLtt_Screen_Cols' undeclared (first use in this function)
newt.c: In function `newtPopWindow':
newt.c:460: warning: implicit declaration of function `SLsmg_write_raw'
newt.c: In function `newtRedrawHelpLine':
newt.c:572: error: `SLtt_Screen_Cols' undeclared (first use in this function)
newt.c:579: error: `SLtt_Screen_Rows' undeclared (first use in this function)
newt.c: In function `newtDrawRootText':
newt.c:613: error: `SLtt_Screen_Cols' undeclared (first use in this function)
newt.c:617: error: `SLtt_Screen_Rows' undeclared (first use in this function)
newt.c: In function `newtBell':
newt.c:642: warning: implicit declaration of function `SLtt_beep'
newt.c: In function `newtGetScreenSize':
newt.c:646: error: `SLtt_Screen_Rows' undeclared (first use in this function)
newt.c:647: error: `SLtt_Screen_Cols' undeclared (first use in this function)
make: *** [newt.o] Error 1
duronsuse:~/newt-0.50/newt-0.50 #

Thanks
Andreas

Vincent Breton
Posts: 3
Joined: Sat Apr 15, 2006 1:12 pm

autoconf

Post by Vincent Breton » Sat Apr 15, 2006 2:46 pm

:shock: :idea:

Hi,

the ./configure file is built with autoconf, so run it before trying again ./configure. If it can't build properly the ./config file, it will probably give you the reason. I didn't understand why, but my default ./configure file wasn't operational during an instant. I presume the reason was my manual changes in my /usr/lib...

Vincent

Post Reply