Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2007, 01:51 PM   #1
Mythago
Member
Mythago began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2007
Question Trying to compile xvnc viewer

I finally have scratchbox setup enough to compile. Now I'm trying to compile a vnc viewer but have run into a problem:
Code:
[sbox-iliad: ~/src.xvncviewer] > ../dl-and-install.sh -u xvncviewer
(it finds VNC-3.3.7, downloads it, extracts it, patches it and then...)
Aplying additional patches
patch -p1 < debian/patches/1.txt
patching file vncviewer/argsresources.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
If I answer no, then it asks "Apply anyway?" If I answer yes to that then 3 out of 4 hunks fail in the patch.

If I answer yes then it seems to work ok.

I then do ./configure which works fine, no complaints. Then I run make and it runs smoothly up until:
Code:
argsresources.c:27:28: X11/Xaw/Toggle.h: No such file or directory
(and a lot more errors after that, all for argsresources.c)
Does this mean it's looking for the Toggle.h file but can't find it on the iLiad? Or is it related to the question that comes up when patching that same file? or both?

-Mythago
Mythago is offline   Reply With Quote
Old 03-27-2007, 02:00 PM   #2
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I tried the package on the debian site as well, and got the same errors.

Try the package from http://www.realvnc.com (http://fresh.t-systems-sfr.com/linux...unixsrc.tar.gz for a quick link to wget). I was able to download, compile, and run that in my development environment. It includes the viewer and the server.

And to answer your original question, I believe it is looking for the Toggle.h file. You may have to download some X11 sources to build that package.

Last edited by Adam B.; 03-27-2007 at 02:10 PM.
Adam B. is offline   Reply With Quote
Old 03-27-2007, 04:17 PM   #3
Mythago
Member
Mythago began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2007
Thanks for the realvnc recommendation. I got it to mostly compile, although it still wouldn't run through a full make. I had to go into the viewviewer directory and run make there. All I need is the viewer so I'm happy.

-Mythago
Mythago is offline   Reply With Quote
Old 03-27-2007, 04:20 PM   #4
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Have you tested it on the iLiad? How well does it work?
Adam B. is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile for Kindle DX? cdisou Kindle Developer's Corner 5 10-22-2011 07:30 AM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
Compile from Source krischik Calibre 8 06-04-2010 08:17 AM
Who can compile a .c program for me? owl123 Workshop 14 04-19-2009 04:26 AM
iLiad Anyone able to compile liberregxml? Adam B. iRex Developer's Corner 11 10-27-2008 07:08 PM


All times are GMT -4. The time now is 06:39 PM.


MobileRead.com is a privately owned, operated and funded community.