LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-18-2005, 02:16 PM   #1
fivebyfive
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
Problems installing tk8.3.5 on Fedora Core 2


I'm runinng Fedora Core 2:

uname -a
Linux localhost.localdomain 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux

I have successfully installed tcl 8.3.5, but am having difficulties when I try to make tk8.3.5.
The make process then ends with:

cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I/home/maryp/tk8.3.5/unix -I/home/maryp/tk8.3.5/unix/../generic -I/home/maryp/tk8.3.5/unix/../bitmaps -I/home/maryp/tcl8.3.5/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /home/maryp/tk8.3.5/unix/tkUnixDraw.c
/home/maryp/tk8.3.5/unix/tkUnixDraw.c: In function `TkScrollWindow':
/home/maryp/tk8.3.5/unix/tkUnixDraw.c:73: warning: implicit declaration of function `XCopyArea'
/home/maryp/tk8.3.5/unix/tkUnixDraw.c:97: error: void value not ignored as it ought to be
make: *** [tkUnixDraw.o] Error 1

I need tcl/tk 8.3.5, not 8.4 as is supplied on my LINUX disks.

Thanks in advance!
 
Old 03-05-2009, 01:50 PM   #2
quarkbuster
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
I'm also getting 'void value not ignored'

Quote:
Originally Posted by fivebyfive View Post
I'm runinng Fedora Core 2:

uname -a
Linux localhost.localdomain 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux

I have successfully installed tcl 8.3.5, but am having difficulties when I try to make tk8.3.5.
The make process then ends with:

cc -pipe -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I/home/maryp/tk8.3.5/unix -I/home/maryp/tk8.3.5/unix/../generic -I/home/maryp/tk8.3.5/unix/../bitmaps -I/home/maryp/tcl8.3.5/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /home/maryp/tk8.3.5/unix/tkUnixDraw.c
/home/maryp/tk8.3.5/unix/tkUnixDraw.c: In function `TkScrollWindow':
/home/maryp/tk8.3.5/unix/tkUnixDraw.c:73: warning: implicit declaration of function `XCopyArea'
/home/maryp/tk8.3.5/unix/tkUnixDraw.c:97: error: void value not ignored as it ought to be
make: *** [tkUnixDraw.o] Error 1

I need tcl/tk 8.3.5, not 8.4 as is supplied on my LINUX disks.

Thanks in advance!
I am getting this problem while installing tk8.5.6. Did fivebyfive ever get it sorted out? If so, what's the solution?
 
Old 03-05-2009, 01:54 PM   #3
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 222

Rep: Reputation: 29
i dont think they're going to tell you if they did or not, from their profile:
Code:
 General Information

    * Last Activity: 04-14-08 05:57 PM
    * Registered: 01-13-05
    * Referrals: 0
 
Old 03-05-2009, 06:56 PM   #4
T74marcell
Member
 
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
Quote:
/home/maryp/tk8.3.5/unix/tkUnixDraw.c:73: warning: implicit declaration of function `XCopyArea'
/home/maryp/tk8.3.5/unix/tkUnixDraw.c:97: error: void value not ignored as it ought to be
Function 'XCopyArea' uses no prototype defined in the header files and based on source code declaration it is supposed to return a void value. For some reason there is a variable in the source that wants to use the void return value of 'XCopyArea', which is obviously an error.

There are several reasons why tcl/tk 8.4 is better than tcl/tk 8.3.5 - one of the reasons is bugfixing.

If you really need to stick with tcl/tk 8.3.5, then find the problem in the source code and correct it before compilation.

Arch Linux

Last edited by T74marcell; 03-14-2009 at 12:58 AM.
 
  


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
Problems Installing Fedora Core 4 jonty-comp Fedora 2 09-11-2005 11:27 AM
Problems installing Fedora Core 3 LinuxStart Linux - Newbie 4 05-02-2005 05:57 AM
Problems installing Fedora Core 3 PrplDrgn Linux - Newbie 3 04-20-2005 08:18 PM
problems installing Fedora core 1 vili_flash Linux - Newbie 9 02-23-2005 03:10 PM
Having problems installing Fedora Core 2... cstone6 Linux - Newbie 6 09-02-2004 08:06 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration