make problem with "vnc"


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users make problem with "vnc"
# 1  
Old 01-28-2004
make problem with "vnc"

i'm starting to think i post too much.

alright a new problem... i'm trying to do the "make World" for Xvnc, and i keep running into the following error:


# make World

Building Release 6.3 of the X Window System.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Tue Jan 27 00:25:44 PST 2004

cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" clean
make[1]: Entering directory `/usr/home/austin/vnc-3.3.7-unixsrc/Xvnc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
make[1]: Leaving directory `/usr/home/austin/vnc-3.3.7-unixsrc/Xvnc/config/imake'
make Makefile.boot
make[1]: Entering directory `/usr/home/austin/vnc-3.3.7-unixsrc/Xvnc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS=""
make[2]: Entering directory `/usr/home/austin/vnc-3.3.7-unixsrc/Xvnc/config/imake'
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
/usr/ucb/cc: language optional software package not installed

make[2]: *** [ccimake] Error 1
make[2]: Leaving directory `/usr/home/austin/vnc-3.3.7-unixsrc/Xvnc/config/imake'
make[1]: *** [imake.proto] Error 2
make[1]: Leaving directory `/usr/home/austin/vnc-3.3.7-unixsrc/Xvnc'
make: *** [World] Error 2



i'm sure it has somethign to do with the "language optional software package.... blah"

first of all, why is this using cc? i have gcc installed. maybe i'm totallyw rong here, but still. what gives?
# 2  
Old 01-28-2004
I don't know anything about this, but see if these help:

http://www.realvnc.com/pipermail/vnc...er/018862.html

http://www.tridiavnc.com/list-mailist/2000-06/0631.html
Quote:
Quote from second link above:

Hello Steve,

well - your imake-files try to use cc. And you have gcc. You should look at ./XVNC/config/cf/site.def and uncomment the "hasgcc2"- section. Then a new xmkmf and make World - that's it. And you will have to use sun's make, NOT gnu-make.

Hope this helps. And I can send you a compiled XVNC - I compiled it on Solaris 8, should work on your system too.

By the way - if you want to use CDE, change in the vncserver-script the XStartup-section to:
Code:
$defaultXStartup 
    = ("#!/bin/sh\n\n". 
       "/usr/dt/bin/Xsession &\n");

That's it.

Bye, Andreas

> Hey all,
>
> I am having a problem compiling vnc on Solaris 7 on Intel. I have no problem
> on the compiling the viewer portion, just on the Xvnc server portion. I have
> gcc installed and Perl, but when I try a compile I get output as:
>
> # make World
>
> Building Release 6.3 of the X Window System.
>
> I hope you checked the configuration parameters in ./config/cf
> to see if you need to pass BOOTSTRAPCFLAGS.
>
> Tue Jun 27 14:56:11 EDT 2000
>
> cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" clean
> rm -f ccimake imake.o imake
> rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
> rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
> make Makefile.boot
> cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS=""
> making imake with BOOTSTRAPCFLAGS= in config/imake
> cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
> /usr/ucb/cc: language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `ccimake'
> Current working directory /vnc/vnc_unixsrc/Xvnc/config/imake
> *** Error code 1
> make: Fatal error: Command failed for target `imake.proto'
> Current working directory /vnc/vnc_unixsrc/Xvnc
> *** Error code 1
> make: Fatal error: Command failed for target `World'
> #
>
> I also tried the command with BOOTSTRAPCFLAGS="DNOSTDADRS" and it produced
> the same error.
>
> Is there something I am missing? Or could someone send me a compiled copy?.
>
> Thanks
> Steve Palocz

Last edited by oombera; 01-28-2004 at 04:21 PM..
# 3  
Old 01-28-2004
good post thanks... but i managed to find a solaris 9 package, so i decided to go that route.

i am having another problem though.

when i try to run vncserver, i get the following error:

Quote:
$ ./vncserver :1
vncserver: couldn't find "xauth" on your PATH.
i googled the problem and it seems that i found the same question, but no helpful answers.

i did find the following:

Quote:
grep xauth /var/sadm/install/contents
as recommended by a website, but it didn't work either.

EDIT...

okay... i redid the path and things seems to run... but now here's a new problem.

i'm running CDE on my desktop, but when the vncviewer session starts, i get well, i don't know the exact term, but it's an X shell, that has nothing but a grey screen and is totally useless.

and yes, i did do what the link you posted said to do with my config file... but still nothing. :/

EDIT.

okay... it looks like i got it, but i don't like it. yeah i know i'm picky.

i searched further and came across this gem:

vncserver -query localhost

when i did that, the nice solaris 9 login prompt appeared. i set an alias to do the dirty work.

however, is there a way to fix this so that when i type "vncserver :1" it works instead of doing this, "-query localhost" business?

Last edited by xyyz; 01-29-2004 at 12:34 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Shell Programming and Scripting

Problem with "make" command in Linux

Hi all, I downloaded an external program and extracted all the files to a folder. they have a make file which I have to run. But when I run make file I get an error g++ -O2 -c pgm.cpp make: g++: Command not found make: *** Error 127 When I checked the list of GCC I get this binf-01... (14 Replies)
Discussion started by: kaav06
14 Replies

3. UNIX for Advanced & Expert Users

Problem with "make"

Hi, I try to run make command but it cames back with: mksh: Fatal error in reader: = missing from replacement macro reference Current working directory /usr/local/src/munin-1.4.7 root@xxx:/usr/local/src/munin-1.4.7> echo $PATH... (2 Replies)
Discussion started by: mehrdad68
2 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

6. Solaris

VNC "Access denied"

Hi guys, I am having a problem with my VNC, Actually i am using my VNC session for last two month. but now it's show me the "Access denied" when i am trying to access it. I checked the logs, then i found it has blacklisted by server. error is something like "Connections: rejecting blacklisted... (0 Replies)
Discussion started by: daya.pandit
0 Replies

7. UNIX for Advanced & Expert Users

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses... Here is the configuration of my system: * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies

8. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

9. Programming

how could i make a program mixed with many "|", "<" and ">"

I have written following code to do: ls -l | wc -w, it works: but when there are not only a single "|", if there are more such as: ls -l | sort -r | sort | sort -r, This program does not work, i want to know how could i deal with it when there are more "|", another situation is that, if it mixes... (2 Replies)
Discussion started by: strugglingman
2 Replies

10. UNIX for Dummies Questions & Answers

"./cofigure" and "make" turmoil

I am a Unix newbie and I downloaded some X11 programs. I have gcc, but I cannot compile the files. I NEED HELP!!!! :confused: (16 Replies)
Discussion started by: gnerd
16 Replies
Login or Register to Ask a Question