Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.tcl

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2009, 02:31 AM
vinayak.mdesai@gmail.com
Guest
 
Posts: n/a
Default BLT compilation

Hello all,

I am trying to install BLT package on my ubuntu machine. I am able to
run the ./configure command successfully but unable to execute make
command. I am using ActiveTcl 8.4




Script started on Monday 30 March 2009 11:24:44 AM IST
]0;vinayak@vinayak-desktop: ~/Desktop/blt2.4zvinayak@vinayak-
desktop:~/Desktop/blt2.4z$ exitsudo ./configure
[7Pmake./configure --with-tcl=/opt/Activ
veTcl-8.5/

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking build system type... i686-pc-linux-gnu

checking for prefix by checking for wish... no

checking which C compiler... checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

gcc

checking how to run the C preprocessor... gcc -E

checking default compiler flags... -O6

checking for Cygwin environment... no

checking for mawk... mawk

checking for a BSD compatible install... /usr/bin/install -c

checking for ranlib... ranlib

checking whether ln -s works... yes

checking for main in -lsocket... no

checking for main in -lnsl... yes

checking for main in -lm... yes

checking for ANSI C header files... yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking whether time.h and sys/time.h may both be included... yes

checking for inttypes.h... yes

checking for limits.h... yes

checking for sys/param.h... yes

checking for string.h... yes

checking for ctype.h... yes

checking for errno.h... yes

checking for float.h... yes

checking for math.h... yes

checking for ieeefp.h... no

checking for sys/time.h... yes

checking for waitflags.h... no

checking for sys/wait.h... (cached) yes

checking for malloc.h... yes

checking for memory.h... yes

checking for setjmp.h... yes

checking for stdlib.h... yes

checking for unistd.h... yes

checking for size_t... yes

checking for pid_t... yes

checking whether union wait is defined correctly... yes

checking whether byte ordering is bigendian... no

checking size of int... 4

checking size of long... 4

checking size of long long... 8

checking size of void *... 4

checking for strdup... yes

checking for strcasecmp... yes

checking for strncasecmp... yes

checking for drand48... yes

checking for srand48... yes

checking for finite... yes

checking for isnan... yes

checking for isfinite... no

checking whether DBL_EPSILON is defined in float.h... yes

checking whether declaration is needed for strdup... no

checking whether declaration is needed for drand48... no

checking whether declaration is needed for srand48... no

checking whether declaration is needed for j1... no

checking for X... no

checking for tclConfig.sh... /opt/ActiveTcl-8.5//lib/tclConfig.sh

checking for tkConfig.sh... /opt/ActiveTcl-8.5//lib/tkConfig.sh

checking for XExtendedMaxRequestSize... no

checking BLT_MAJOR_VERSION... 2

checking BLT_MINOR_VERSION... 4

checking TCL_VERSION in tcl.h... 8.5

checking TK_VERSION in tk.h... 8.5



Configuration results:



tcl.h found in /opt/ActiveTcl-8.5/include/tcl8.5

tk.h found in /opt/ActiveTcl-8.5/include

X11/Xlib.h found in NONE

libtcl8.5 found in /opt/ActiveTcl-8.5/lib

libtk8.5 found in /opt/ActiveTcl-8.5/lib

libX11 found in NONE



Directories where BLT is to be installed:



"$prefix" is /opt/ActiveTcl-8.5

"$exec_prefix" is /opt/ActiveTcl-8.5



bltwish to be installed in ${exec_prefix}/bin

libBLT.a to be installed in /opt/ActiveTcl-8.5/lib

scripts to be installed in /opt/ActiveTcl-8.5/lib/blt2.4

manual pages to be installed in ${prefix}/man



creating ./config.status

creating Makefile

creating src/Makefile

creating src/bltHash.h

creating src/shared/Makefile

creating man/Makefile

creating library/Makefile

creating demos/Makefile

creating src/bltConfig.h

]0;vinayak@vinayak-desktop: ~/Desktop/blt2.4zvinayak@vinayak-
desktop:~/Desktop/blt2.4z$ sudo make

(cd src; make all)

make[1]: Entering directory `/home/vinayak/Desktop/blt2.4z/src'

gcc -c -Wall -O6 -I. -I. -I/opt/ActiveTcl-8.5/include -I/opt/
ActiveTcl-8.5/include/tcl8.5 bltAlloc.c

In file included from bltInt.h:41,

from bltAlloc.c:1:

/opt/ActiveTcl-8.5/include/tk.h:78:23: error: X11/Xlib.h: No such file
or directory

In file included from bltInt.h:41,

from bltAlloc.c:1:

/opt/ActiveTcl-8.5/include/tk.h:549: error: expected declaration
specifiers or ‘...’ before ‘Window’

/opt/ActiveTcl-8.5/include/tk.h:549: warning: type defaults to ‘int’
in declaration of ‘Window’

/opt/ActiveTcl-8.5/include/tk.h:549: error: ‘Window’ declared as
function returning a function

/opt/ActiveTcl-8.5/include/tk.h:549: warning: parameter names (without
types) in function declaration

/opt/ActiveTcl-8.5/include/tk.h:552: error: expected declaration
specifiers or ‘...’ before ‘XEvent’

/opt/ActiveTcl-8.5/include/tk.h:561: error: expected specifier-
qualifier-list before ‘Tk_ClassCreateProc’

/opt/ActiveTcl-8.5/include/tk.h:655: error: expected specifier-
qualifier-list before ‘Bool’

/opt/ActiveTcl-8.5/include/tk.h:677: error: expected specifier-
qualifier-list before ‘Bool’

/opt/ActiveTcl-8.5/include/tk.h:754: error: expected specifier-
qualifier-list before ‘Display’

/opt/ActiveTcl-8.5/include/tk.h:897: error: expected declaration
specifiers or ‘...’ before ‘XPoint’

/opt/ActiveTcl-8.5/include/tk.h:991: error: expected declaration
specifiers or ‘...’ before ‘Display’

/opt/ActiveTcl-8.5/include/tk.h:993: error: expected declaration
specifiers or ‘...’ before ‘Display’

/opt/ActiveTcl-8.5/include/tk.h:993: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tk.h:1094: error: expected specifier-
qualifier-list before ‘XColor’

/opt/ActiveTcl-8.5/include/tk.h:1157: error: expected specifier-
qualifier-list before ‘GC’

/opt/ActiveTcl-8.5/include/tk.h:1199: error: expected declaration
specifiers or ‘...’ before ‘Display’

/opt/ActiveTcl-8.5/include/tk.h:1199: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tk.h:1202: error: expected declaration
specifiers or ‘...’ before ‘Display’

/opt/ActiveTcl-8.5/include/tk.h:1398: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tk.h:1508: error: expected declaration
specifiers or ‘...’ before ‘XErrorEvent’

/opt/ActiveTcl-8.5/include/tk.h:1510: error: expected declaration
specifiers or ‘...’ before ‘XEvent’

/opt/ActiveTcl-8.5/include/tk.h:1512: error: expected declaration
specifiers or ‘...’ before ‘XEvent’

/opt/ActiveTcl-8.5/include/tk.h:1514: error: expected declaration
specifiers or ‘...’ before ‘XEvent’

/opt/ActiveTcl-8.5/include/tk.h:1519: error: expected declaration
specifiers or ‘...’ before ‘XEvent’

In file included from /opt/ActiveTcl-8.5/include/tk.h:1532,

from bltInt.h:41,

from bltAlloc.c:1:

/opt/ActiveTcl-8.5/include/tkDecls.h:42: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:47: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_3DBorderGC’

/opt/ActiveTcl-8.5/include/tkDecls.h:54: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:62: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:76: error: expected declaration
specifiers or ‘...’ before ‘XEvent’

/opt/ActiveTcl-8.5/include/tkDecls.h:108: error: expected declaration
specifiers or ‘...’ before ‘Pixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:115: error: expected declaration
specifiers or ‘...’ before ‘XColor’

/opt/ActiveTcl-8.5/include/tkDecls.h:134: error: expected declaration
specifiers or ‘...’ before ‘Pixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:144: error: expected declaration
specifiers or ‘...’ before ‘GC’

/opt/ActiveTcl-8.5/include/tkDecls.h:178: error: expected declaration
specifiers or ‘...’ before ‘XSetWindowAttributes’

/opt/ActiveTcl-8.5/include/tkDecls.h:190: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:196: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:196: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:234: error: expected declaration
specifiers or ‘...’ before ‘XWindowChanges’

/opt/ActiveTcl-8.5/include/tkDecls.h:266: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:303: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:304: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:305: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:378: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:379: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:400: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:401: error: expected declaration
specifiers or ‘...’ before ‘XPoint’

/opt/ActiveTcl-8.5/include/tkDecls.h:409: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:416: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:423: error: expected declaration
specifiers or ‘...’ before ‘GC’

/opt/ActiveTcl-8.5/include/tkDecls.h:424: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:429: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:437: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:438: error: expected declaration
specifiers or ‘...’ before ‘XPoint’

/opt/ActiveTcl-8.5/include/tkDecls.h:446: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:459: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_FontId’

/opt/ActiveTcl-8.5/include/tkDecls.h:469: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:474: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:479: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:485: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:495: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:506: error: expected declaration
specifiers or ‘...’ before ‘Display’

/opt/ActiveTcl-8.5/include/tkDecls.h:512: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:522: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:527: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GCForColor’

/opt/ActiveTcl-8.5/include/tkDecls.h:557: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:569: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetBitmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:575: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetBitmapFromData’

/opt/ActiveTcl-8.5/include/tkDecls.h:588: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:594: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:600: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetColormap’

/opt/ActiveTcl-8.5/include/tkDecls.h:637: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetGC’

/opt/ActiveTcl-8.5/include/tkDecls.h:692: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetPixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:724: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:724: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:735: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:754: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:759: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:776: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_InternAtom’

/opt/ActiveTcl-8.5/include/tkDecls.h:849: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:860: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:865: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:902: error: expected declaration
specifiers or ‘...’ before ‘Atom’

/opt/ActiveTcl-8.5/include/tkDecls.h:971: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:977: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:985: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:1048: error: expected declaration
specifiers or ‘...’ before ‘Pixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:1065: error: expected declaration
specifiers or ‘...’ before ‘Pixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:1071: error: expected declaration
specifiers or ‘...’ before ‘Colormap’

/opt/ActiveTcl-8.5/include/tkDecls.h:1076: error: expected declaration
specifiers or ‘...’ before ‘Visual’

/opt/ActiveTcl-8.5/include/tkDecls.h:1077: error: expected declaration
specifiers or ‘...’ before ‘Colormap’

/opt/ActiveTcl-8.5/include/tkDecls.h:1082: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1116: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1124: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1159: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_AllocBitmapFromObj’

/opt/ActiveTcl-8.5/include/tkDecls.h:1171: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1253: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetBitmapFromObj’

/opt/ActiveTcl-8.5/include/tkDecls.h:1259: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1374: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1380: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1405: error: expected declaration
specifiers or ‘...’ before ‘GC’

/opt/ActiveTcl-8.5/include/tkDecls.h:1417: error: expected declaration
specifiers or ‘...’ before ‘GC’

/opt/ActiveTcl-8.5/include/tkDecls.h:1431: error: expected declaration
specifiers or ‘...’ before ‘Pixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:1438: error: expected declaration
specifiers or ‘...’ before ‘XColor’

/opt/ActiveTcl-8.5/include/tkDecls.h:1466: error: expected declaration
specifiers or ‘...’ before ‘Pixmap’

/opt/ActiveTcl-8.5/include/tkDecls.h:1542: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1639: error: expected declaration
specifiers or ‘...’ before ‘Drawable’

/opt/ActiveTcl-8.5/include/tkDecls.h:1674: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1679: error: expected ‘)’ before
‘*’ token

/opt/ActiveTcl-8.5/include/tkDecls.h:1710: error: expected specifier-
qualifier-list before ‘XColor’

In file included from bltInt.h:47,

from bltAlloc.c:1:

bltTkInt.h:76: error: expected specifier-qualifier-list before
‘Screen’

bltTkInt.h:119: error: expected specifier-qualifier-list before
‘Pixmap’

bltTkInt.h:197: error: expected specifier-qualifier-list before
‘Screen’

In file included from bltInt.h:80,

from bltAlloc.c:1:

bltNsUtil.h:50: error: conflicting types for ‘Tcl_FindCommand’

/opt/ActiveTcl-8.5/include/tclDecls.h:3123: error: previous
declaration of ‘Tcl_FindCommand’ was here

bltNsUtil.h:67: error: conflicting types for ‘Tcl_CreateNamespace’

/opt/ActiveTcl-8.5/include/tclDecls.h:3068: error: previous
declaration of ‘Tcl_CreateNamespace’ was here

bltNsUtil.h:72: error: conflicting types for ‘Tcl_FindNamespace’

/opt/ActiveTcl-8.5/include/tclDecls.h:3116: error: previous
declaration of ‘Tcl_FindNamespace’ was here

bltNsUtil.h:75: error: conflicting types for ‘Tcl_Export’

/opt/ActiveTcl-8.5/include/tclDecls.h:3086: error: previous
declaration of ‘Tcl_Export’ was here

In file included from bltAlloc.c:1:

bltInt.h:281: error: expected declaration specifiers or ‘...’ before
‘Drawable’

bltInt.h:284: error: expected declaration specifiers or ‘...’ before
‘Drawable’

bltInt.h:499: error: expected ‘)’ before ‘*’ token

bltInt.h:501: error: expected ‘)’ before ‘gc’

bltInt.h:597: error: expected specifier-qualifier-list before ‘XColor’

In file included from bltInt.h:622,

from bltAlloc.c:1:

bltText.h:127: error: expected specifier-qualifier-list before
‘XColor’

bltText.h:150: error: expected specifier-qualifier-list before
‘XColor’

bltText.h:180: error: expected ‘)’ before ‘*’ token

bltText.h:183: error: expected declaration specifiers or ‘...’ before
‘GC’

bltText.h:183: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltText.h:183: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltText.h:183: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltText.h:188: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltText.h:188: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltText.h:188: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltText.h:193: error: expected declaration specifiers or ‘...’ before
‘Drawable’

bltText.h:196: error: expected declaration specifiers or ‘...’ before
‘Drawable’

bltText.h:200: error: expected declaration specifiers or ‘...’ before
‘Drawable’

bltText.h:204: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘Blt_CreateTextBitmap’

bltText.h:208: error: expected ‘)’ before ‘*’ token

In file included from bltAlloc.c:1:

bltInt.h:687: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘Blt_GetPrivateGC’

bltInt.h:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘Blt_GetPrivateGCFromDrawable’

bltInt.h:693: error: expected ‘)’ before ‘*’ token

bltInt.h:721: error: expected ‘)’ before ‘*’ token

bltInt.h:734: error: expected ‘)’ before ‘*’ token

bltInt.h:751: error: expected ‘)’ before ‘*’ token

bltInt.h:754: error: expected declaration specifiers or ‘...’ before
‘XColor’

bltInt.h:762: error: expected ‘)’ before ‘*’ token

bltInt.h:765: error: ‘Blt_GetRealWindowId’ declared as function
returning a function

bltInt.h:802: error: expected ‘)’ before ‘*’ token

make[1]: *** [bltAlloc.o] Error 1

make[1]: Leaving directory `/home/vinayak/Desktop/blt2.4z/src'

make: *** [all] Error 2

]0;vinayak@vinayak-desktop: ~/Desktop/blt2.4zvinayak@vinayak-
desktop:~/Desktop/blt2.4z$ exit

exit


Script done on Monday 30 March 2009 11:25:01 AM IST
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 04-02-2009, 06:03 AM
Amit Zaroo
Guest
 
Posts: n/a
Default Re: BLT compilation

Hi check if you are compiling against tcl sources
<snip>
> checking TCL_VERSION in tcl.h... 8.5
>
> checking TK_VERSION in tk.h... 8.5

</snip>
You are bold. Let me know if you are able to get the compilation done
against tcl 8.5

<snip>
> Configuration results:
>
> * tcl.h * * *found in */opt/ActiveTcl-8.5/include/tcl8.5
>
> * tk.h * * * found in */opt/ActiveTcl-8.5/include
>
> * X11/Xlib.h found in *NONE
>
> * libtcl8.5 *found in */opt/ActiveTcl-8.5/lib
>
> * libtk8.5 * found in */opt/ActiveTcl-8.5/lib
>
> * libX11 * * found in *NONE
>

</snip>
X11 not found in path.. check it out you would typically require X11
for Tk and Blt widgets
Reply With Quote
  #3 (permalink)  
Old 04-02-2009, 10:46 AM
Vinayak MutalikDesai
Guest
 
Posts: n/a
Default Re: BLT compilation

On Apr 2, 11:03*am, Amit Zaroo <amit.za...@gmail.com> wrote:
> Hi check if you are compiling against tcl sources
> <snip>> checking TCL_VERSION in tcl.h... 8.5
>
> > checking TK_VERSION in tk.h... 8.5

>
> </snip>
> You are bold. Let me know if you are able to get the compilation done
> against tcl 8.5
>
> <snip>> Configuration results:
>
> > * tcl.h * * *found in */opt/ActiveTcl-8.5/include/tcl8.5

>
> > * tk.h * * * found in */opt/ActiveTcl-8.5/include

>
> > * X11/Xlib.h found in *NONE

>
> > * libtcl8.5 *found in */opt/ActiveTcl-8.5/lib

>
> > * libtk8.5 * found in */opt/ActiveTcl-8.5/lib

>
> > * libX11 * * found in *NONE

>
> </snip>
> X11 not found in path.. check it out you would typically require X11
> for Tk and Blt widgets


Hi Amit,

First I had Tcl 8.5 and tried to compile it.. Compilation failed. Then
Uninstalled 8.5 and installed 8.4 there also getting same error. These
logs I collected when I had 8.5

Present Tcl version is 8.4

I will verify the things and get back to you. :-)

Vinayak
Reply With Quote
  #4 (permalink)  
Old 04-02-2009, 11:01 AM
Larry W. Virden
Guest
 
Posts: n/a
Default Re: BLT compilation

On Apr 2, 6:46*am, Vinayak MutalikDesai <vinayak.mde...@gmail.com>
wrote:
> Present Tcl version is 8.4
> > Vinayak- Hide quoted text -

>
> - Show quoted text -


I haven't been able to get BLT to compile 5-6 years now. A late
version of BLT 2.4 or early version of 3.0 and Tcl 8.4.7 was the last
time I was successful in trying to compile it - though to be honest,
I've not tried against more recent versions of 8.4 . Most of my work
has been against 8.5 for the past 5 years or so.

Most people using Tk 8.5 have just quit using BLT, rewriting code that
depended on it against other Tk libraries or other development
languages.
Reply With Quote
  #5 (permalink)  
Old 04-03-2009, 12:09 PM
Uwe Klein
Guest
 
Posts: n/a
Default Re: BLT compilation

vinayak.mdesai@gmail.com wrote:
> gcc -c -Wall -O6 -I. -I. -I/opt/ActiveTcl-8.5/include -I/opt/
> ActiveTcl-8.5/include/tcl8.5 bltAlloc.c
>
> In file included from bltInt.h:41,
>
> from bltAlloc.c:1:
>
> /opt/ActiveTcl-8.5/include/tk.h:78:23: error: X11/Xlib.h: No such file
> or directory



Amit Zaroo wrote:
> </snip>
> X11 not found in path.. check it out you would typically require X11
> for Tk and Blt widgets


X11/Xlib.h is part of X11 header files.

he ( vinayak.mdesai@gmail.com ) needs to install the X11 devel package.

uwe

Reply With Quote
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Interpretation vs. compilation - where is SAS in the Jim Groeneveld Newsgroup comp.soft-sys.sas 0 11-06-2006 08:21 AM
Re: Interpretation vs. compilation - where is SAS in the David L Cassell Newsgroup comp.soft-sys.sas 0 11-05-2006 08:59 PM
Re: Interpretation vs. compilation - where is SAS in the SAS_learner Newsgroup comp.soft-sys.sas 0 11-05-2006 06:20 PM
Re: Interpretation vs. compilation - where is SAS in the Alan Churchill Newsgroup comp.soft-sys.sas 0 11-05-2006 05:11 PM
Re: Interpretation vs. compilation - where is SAS in the toby dunn Newsgroup comp.soft-sys.sas 0 11-05-2006 04:00 PM



All times are GMT. The time now is 08:26 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.