Code Monkey home page Code Monkey logo

Comments (8)

lundmar avatar lundmar commented on May 30, 2024

Thanks for the info.

I've just pushed 69871f0 which should fix it.

from liblxi.

robert-scheck avatar robert-scheck commented on May 30, 2024

Not really. Using libtirpc-1.0.3-0.fc29 and rpcgen-1.3.1-3.fc28 (Rawhide), I end up like this:

+ /usr/bin/make -O -j48
Making all in src
make[1]: Entering directory '/builddir/build/BUILD/liblxi-1.12/src'
rpcgen -M vxi11core.rpcl
make[1]: Leaving directory '/builddir/build/BUILD/liblxi-1.12/src'
This implementation doesn't support newstyle or MT-safe code!
usage: rpcgen infile
	rpcgen [-abkCLNTM][-Dname[=value]] [-i size] [-I [-K seconds]] [-Y path] infile
	rpcgen [-c | -h | -l | -m | -t | -Sc | -Ss | -Sm] [-o outfile] [infile]
	rpcgen [-s nettype]* [-o outfile] [infile]
	rpcgen [-n netid]* [-o outfile] [infile]
options:
-a		generate all files, including samples
-b		backward compatibility mode (generates code for SunOS 4.1)
-c		generate XDR routines
-C		ANSI C mode
-Dname[=value]	define a symbol (same as #define)
-h		generate header file
-i size		size at which to start generating inline code
-I		generate code for inetd support in server (for SunOS 4.1)
-K seconds	server exits after K seconds of inactivity
-l		generate client side stubs
-L		server errors will be printed to syslog
-m		generate server side stubs
-M		generate MT-safe code
-n netid	generate server code that supports named netid
-N		supports multiple arguments and call-by-value
-o outfile	name of the output file
-s nettype	generate server code that supports named nettype
-Sc		generate sample client code that uses remote procedures
-Ss		generate sample server code that defines remote procedures
-Sm 		generate makefile template 
-t		generate RPC dispatch table
-T		generate code to support RPC dispatch tables
-Y path		directory name to find C preprocessor (cpp)
-5		SysVr4 compatibility mode
--help		give this help list
--version	print program version
make[1]: *** [Makefile:790: vxi11core_clnt.c] Error 1

But it feels like rpcgen-1.3.1-3.fc28 is the issue here, given I can successfully build using rpgcgen from RHEL 7, filed https://bugzilla.redhat.com/show_bug.cgi?id=1559181

from liblxi.

dmgk avatar dmgk commented on May 30, 2024

69871f0 breaks FreeBSD build (there's no pkgconfig for Sun RPC, it's in base).

from liblxi.

lundmar avatar lundmar commented on May 30, 2024

It's not easy to make checks that work on different platforms and different versions of same platforms.

@dmgk You will have to use libtirpc_CFLAGS and libtirpc_LIBS to override the pkg-config checks.

from liblxi.

robert-scheck avatar robert-scheck commented on May 30, 2024

Wouldn't it make sense to have something like (metacode):

if !AC_CHECK_HEADERS(rpc/rpc.h) then
  PKG_CHECK_MODULES([libtirpc], [libtirpc])
fi

from liblxi.

lundmar avatar lundmar commented on May 30, 2024

Something like that could be done yes.

from liblxi.

robert-scheck avatar robert-scheck commented on May 30, 2024

That would be great, because it would also cover other plattforms properly.

from liblxi.

lundmar avatar lundmar commented on May 30, 2024

Ok. Fixed in 1233cb1. It's not elegant but it gets the job done.

from liblxi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.