Hello,

You guys seem to be right about rpcgen:

root@Csabi:/tmp/cde-2.5.1
# rpcgen -h lib/csa/agent.x | grep AGENTVERS
/usr/bin/ld:lib/csa/agent.x: file format not recognized; treating as linker 
script
/usr/bin/ld:lib/csa/agent.x:22: syntax error
collect2: error: ld returned 1 exit status
rpcgen: C preprocessor failed with exit code 1

It seems that the version Debian 11 shipped is not good enough. The package 
rpcsvc-proto is not available under Debian 11, it is only available in Debian 
12, Debian testing and Debian unstable. Under Debian 11 the package 
libc-dev-bin provides rpcgen.

root@Csabi:/tmp/cde-2.5.1
# dpkg -S `which rpcgen`
libc-dev-bin: /usr/bin/rpcgen

root@Csabi:/tmp/cde-2.5.1
# apt-cache policy rpcsvc-proto
N: Ez a csomag nem található: rpcsvc-proto

root@Csabi:/tmp/cde-2.5.1
# dpkg-query -L libc-dev-bin | grep rpcgen
/usr/bin/rpcgen
/usr/share/man/man1/rpcgen.1.gz

I always clean the buildtree or even delete the entire directory and re-extract 
it, before i restart the compiling.

- TCH

Sent with Proton Mail secure email.

On Thursday, November 16th, 2023 at 6:37 PM, Johannes von Rotz <j...@vrtz.ch> 
wrote:


> On 11/15/23 11:23, TCH via cdesktopenv-devel wrote:
> 
> > 2020.0.0+really93u+20120801-9, the version Debian 11 providing.
> > 
> > I've obtained the latest ksh (93u+m/1.0.7 (2023-09-15)) sources from 
> > github, compiled and installed it to /opt/ksh93 and then prepended it's bin 
> > directory to $PATH from console before compiling CDE.
> > ./configure found it (checking for ksh... /opt/ksh93/bin/ksh), yet, the 
> > errors remained the very same.
> > 
> > I have an older ksh93 binary on my disk (93u+ (2012-08-01)). I've symlinked 
> > that to /tmp/ksh/ksh and then prepended that directory to $PATH before 
> > compiling.
> > ./configure found that too, but still, the errors did not change.
> > 
> > In both cases, i did the compiling from scratch (from extracting the 
> > archive and then ./autogen.sh, ./configure, ./make), to be sure.
> 
> 
> Hi
> 
> I don't think this is related to ksh. I side with Jon: This is related
> to rpcgen. The missing definition for AGENTVERS should be in agent.h,
> which is generated with rpcgen from the input file agent.x.
> 
> Could you please verify the output of:
> 
> % rpcgen -h cde/lib/csa/agent.x | grep AGENTVERS
> 
> I'm currently on my arm64 machine with Debian testing, which probably
> doesn't exactly match your setup. But my rpcgen binary has been provided
> by the package rpcsvc-proto:
> 
> % dpkg -S `which rpcgen`
> rpcsvc-proto: /usr/bin/rpcgen
> 
> % apt-cache policy rpcsvc-proto
> rpcsvc-proto:
> Installed: 1.4.3-1
> Candidate: 1.4.3-1
> Version table:
> *** 1.4.3-1 500
> 500 http://debian.ethz.ch/debian trixie/main arm64 Packages
> 100 /var/lib/dpkg/status
> 
> Meanwhile, the package libc-dev-bin does not provide any rpcgen binary
> on my installation:
> 
> % dpkg-query -L libc-dev-bin | grep rpcgen
> # No output
> 
> So the question is: What output does your rpcgen binary produce? Is the
> package rpcsvc-proto available to you?
> 
> Also, make sure to clean the build tree after installing additional
> development tools. I know it might be obvious, but I've walked into that
> one too many times to not mention it... :)
> 
> Cheers, J.
> 
> 
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to