[prev in list] [next in list] [prev in thread] [next in thread]
List: freenx-knx
Subject: Re: [FreeNX-kNX] Compiling NX1.5.0 on amd64
From: Xiong Jiang <linuster () gmail ! com>
Date: 2005-09-24 12:47:36
Message-ID: 9b516443050924054740d254e4 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
OK, finally managed to build the stuff.
at lib/X11/XlcDL.c:64, I made it like:
#ifdef _LP64
# if defined(__sparcv9)
# define _MACH64_NAME "sparcv9"
# elif defined(__ia64__)
# undef MACH64_NAME
# else
# undef MACH64_NAME
/*# error "Unknown architecture"
*/
# endif /* defined(__sparcv9) */
# ifdef _MACH64_NAME
# define _MACH64_NAME_LEN (sizeof (_MACH64_NAME) - 1)
# endif
#endif /* _LP64 */
I am not sure if it really matters. Just to make it compile.
Now after nxcomp and nxcompext are built, you should be able to 'make World'
under nx-X11. The directory names are hardcoded in makefile so you should
not rename the directories unpacked from .tar.gz tarballs.
Three libs are replaced by NX: libX11, libXext, libXrender.
I changed in Makefile to use LIBNAME=X11-nx and Xext-nx, Xrender-nx for
them. so that it's easier to distinguish it from the libX11 installed. I
don't know much about the Imakefile system so I changed the Makefile and
build again. Some other makefiles are modified accordingly as they will link
with the libX11-nx, libXext-nx, libXrender-nx we just built.
Again, I haven't found out how to change the Imake config files to do this
easily. If you know the trick, please share with us.
nxagent will be built when 'make' under nx-X11/programs. A problem here
again:
lib/freetype2 and fontconfig is not built as shared lib, but nxagent needs
to link to it. Maybe I did something wrong here again by changing it to
build a shared lib. But Imake gurus please point me to the right way.
nxagent/Makefile also got problem that it cannot find the libX11-nx,
libXext-nx, libXrender-nx.
See, a deb source package will save me all the hassle of tampering with
Makefile.
However nx-X11 is not in svn://svn.debian.org/pkg-nx yet.
I am write from my short memory in late night, my words here is so vague. I
need to redo this and find the right answer.
OK here is the story of compiling. It still doesn't work though.
See my next email about the bugs I hit.
Xiong
On 9/24/05, Xiong Jiang <linuster@gmail.com> wrote:
>
> OK, let's start this thread for problems encountered in compiling NX on
> debian-amd64.
> I am trying gcc 3.3.6 first since I had failure with gcc4 on 1.4.0.2<http://1.4.0.2>before.
>
> I have the following source tarballs From
> http://www.nomachine.com/sources.php:
>
> nxagent-1.5.0-90.tar.gz nxesd-1.5.0-3.tar.gz nxssh-1.5.0-21.tar.gz
> nxauth-1.5.0-1.tar.gz nxproxy-1.5.0-9.tar.gz nxuexec-1.5.0-3.tar.gz
> nxcomp-1.5.0-65.tar.gz nxscripts-1.5.0-11.tar.gz nxviewer-1.5.0-14.tar.gz
> nxcompext-1.5.0-16.tar.gz nxsensor-1.5.0-5.tar.gz nxwin-1.5.0-3.tar.gz
> nxdesktop-1.5.0-61.tar.gz nxspool-1.5.0-2.tar.gz nx-X11-1.5.0-15.tar.gz
>
> My progress so far:
>
> nxcomp:
> Need forward declaration patch in RenderExtension.h
> Need -fPIC in Makefile
> It builds after the patches
>
> nxproxy:
> builds OK
>
> nx-X11
> Need to unpack nxagent and nxauth after unpack nx-X11. They will be
> unpacked into
> nx-X11 directory as well.
> make World OK
> When make install, got XlcDL.c:64:4: #error "Unknown architecture"
>
> #ifdef _LP64
> # if defined(__sparcv9)
> # define _MACH64_NAME "sparcv9"
> # elif defined(__ia64__)
> # undef MACH64_NAME
> # else
> # error "Unknown architecture"
> # endif /* defined(__sparcv9) */
> # ifdef _MACH64_NAME
> # define _MACH64_NAME_LEN (sizeof (_MACH64_NAME) - 1)
> # endif
> #endif /* _LP64 */
>
>
[Attachment #5 (text/html)]
OK, finally managed to build the stuff.<br>
<br>
at lib/X11/XlcDL.c:64, I made it like:<br>
<br>
#ifdef _LP64<br>
# if defined(__sparcv9)<br>
# define
_MACH64_NAME
"sparcv9"<br>
# elif defined(__ia64__)<br>
# undef MACH64_NAME<br>
# else<br>
# undef MACH64_NAME<br>
/*# error "Unknown architecture"<br>
*/<br>
# endif /* defined(__sparcv9) */<br>
# ifdef _MACH64_NAME<br>
# define
_MACH64_NAME_LEN (sizeof
(_MACH64_NAME) - 1)<br>
# endif<br>
#endif /* _LP64 */<br>
<br>
I am not sure if it really matters. Just to make it compile.<br>
<br>
Now after nxcomp and nxcompext are built, you should be able to 'make
World' under nx-X11. The directory names are hardcoded in makefile so
you should not rename the directories unpacked from .tar.gz tarballs.<br>
<br>
Three libs are replaced by NX: libX11, libXext, libXrender.<br>
I changed in Makefile to use LIBNAME=X11-nx and Xext-nx, Xrender-nx for
them. so that it's easier to distinguish it from the libX11 installed.
I don't know much about the Imakefile system so I changed the Makefile
and build again. Some other makefiles are modified accordingly as they
will link with the libX11-nx, libXext-nx, libXrender-nx we just built.<br>
<br>
Again, I haven't found out how to change the Imake config files to do this easily. If you know the trick, \
please share with us.<br> <br>
nxagent will be built when 'make' under nx-X11/programs. A problem here again:<br>
lib/freetype2 and fontconfig is not built as shared lib, but nxagent
needs to link to it. Maybe I did something wrong here again by changing
it to build a shared lib. But Imake gurus please point me to the right
way.<br><br>
nxagent/Makefile also got problem that it cannot find the libX11-nx, libXext-nx, libXrender-nx.<br>
<br>
See, a deb source package will save me all the hassle of tampering with Makefile.<br>
However nx-X11 is not in <a href="svn://svn.debian.org/pkg-nx">svn://svn.debian.org/pkg-nx</a> yet.<br>
I am write from my short memory in late night, my words here is so vague. I need to redo this and find \
the right answer.<br> <br>
OK here is the story of compiling. It still doesn't work though.<br>
<br>
See my next email about the bugs I hit.<br>
<br>
Xiong<br>
<br><div><span class="gmail_quote">On 9/24/05, <b class="gmail_sendername">Xiong Jiang</b> <<a \
href="mailto:linuster@gmail.com">linuster@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> OK, \
let's start this thread for problems encountered in compiling NX on debian-amd64.<br> I am trying gcc \
3.3.6 first since I had failure with gcc4 on <a href="http://1.4.0.2" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">1.4.0.2</a> before.<br> <br>
I have the following source tarballs From <a href="http://www.nomachine.com/sources.php" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">http://www.nomachine.com/sources.php</a>:<br> <br>
nxagent-1.5.0-90.tar.gz nxesd-1.5.0-3.tar.gz \
nxssh-1.5.0-21.tar.gz<br> nxauth-1.5.0-1.tar.gz \
nxproxy-1.5.0-9.tar.gz nxuexec-1.5.0-3.tar.gz<br> \
nxcomp-1.5.0-65.tar.gz nxscripts-1.5.0-11.tar.gz \
nxviewer-1.5.0-14.tar.gz<br> nxcompext-1.5.0-16.tar.gz nxsensor-1.5.0-5.tar.gz \
nxwin-1.5.0-3.tar.gz<br> nxdesktop-1.5.0-61.tar.gz nxspool-1.5.0-2.tar.gz \
nx-X11-1.5.0-15.tar.gz<br> <br>
My progress so far:<br>
<br>
nxcomp: <br>
Need forward declaration patch in RenderExtension.h<br>
Need -fPIC in Makefile<br>
It builds after the patches<br>
<br>
nxproxy:<br>
builds OK<br>
<br>
nx-X11<br>
Need to unpack nxagent and nxauth after unpack nx-X11. They will be unpacked into<br>
nx-X11 directory as well.<br>
make World OK<br>
When make install, got XlcDL.c:64:4: #error "Unknown architecture"<br>
<br>
#ifdef _LP64<br>
# if defined(__sparcv9)<br>
# define _MACH64_NAME \
"sparcv9"<br> # elif defined(__ia64__) <br>
# undef MACH64_NAME<br>
# else<br>
# error "Unknown architecture"<br>
# endif /* defined(__sparcv9) */<br>
# ifdef _MACH64_NAME<br>
# define _MACH64_NAME_LEN (sizeof (_MACH64_NAME) - 1)<br>
# endif<br>
#endif /* _LP64 */<br>
<br>
</blockquote></div><br>
_______________________________________________
FreeNX-kNX mailing list
FreeNX-kNX@kde.org
https://mail.kde.org/mailman/listinfo/freenx-knx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic