search for: os_type

Displaying 20 results from an estimated 155 matches for "os_type".

2000 Oct 05
4
Macintosh support (again)
In order to compile the latest Vorbis library on the Macintosh, the change appended to this message needs to be made to os_types.h.in. Then, anyone who wants to actually build it must first copy os_types.h.in to os_types.h by hand, since MacOS does not include a command line and thus cannot run configure. It really bugs me that the whole "platforms which don't support configure scripts require multiple undocum...
2000 Sep 02
2
Relying on autoconf/configure
I decided, since nobody else seems to be doing it, to do a new build of the Mac library. Unfortunately, things now rely on os_types.h. No problem, I'll just create an os_types.h in mac/compat. Except os.h #includes "../include/vorbis/os_types.h" -- in other words, it explicitly wants the os_types.h that was generated from os_types.h.in by configure. The simple solution is to just #include "os_types.h&q...
2009 Sep 12
1
DESCRIPTION/OS_type and OS X
R Extensions (Section 1.1.1, and using the 2.9.2 version) says The optional `OS_type' field specifies the OS(es) for which the package is intended. If present, it should be one of `unix' or `windows', and indicates that the package should only be installed on a platform with `.Platform$OS.type' having that value. and I am wondering if 'OS_type: unix'...
2000 Aug 27
0
Patch for typo in os_types.h
The current CVS tree (08/27/00) has a typo in os_types.h, simply missing a "ty", I have pasted the diff below: Index: os_types.h =================================================================== RCS file: /usr/local/cvsroot/vorbis/include/vorbis/os_types.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -r1.1.1.1 -r1.2 17c17 &l...
2010 Sep 18
3
How to check the available of a package on R repo
Hi folks, Debian 504 64-bit What is the correct syntax to check the available of a package on R repo? > available.packages("emacs", "OS_type=linux") Warning: unable to access index for repository emacs Package Version Priority Depends Imports LinkingTo Suggests Enhances OS_type License File Repository > available.packages("emacs") Warning: unable to access index for repository emacs Package Version Prio...
2005 Jun 29
3
os_types.h
Hey guys, Maybe its cause I'm using older tools, but I've noticed a minor problem building the ogg libraries on a mac. I'm using Codewarrior 8. In os_types.h on line 60, it says "#include <sys/types.h>" where it should be "#include <types.h>" I'm guessing this isn't an issue for all compilers, just codewarrior. Possibly only codewarrior 8 and not codewarrior 9 as well. I just manually changed my include fil...
2000 Jul 07
0
vorbize and os_type patches + general build issues
...IBS) 42c43 < vorbize: vorbize.o --- > vorbize: vorbize.o $(VORBISLIBS) 45a47,48 > ../cmdline/getopt.a: > cd ../cmdline && make getopt.a 58c61 < $(INSTALL) -b -m 711 mp3tovorbis @prefix@/bin/ --- > $(INSTALL) -b -m 755 mp3tovorbis @prefix@/bin/ Index: include/vorbis/os_types.h =================================================================== RCS file: /usr/local/cvsroot/vorbis/include/vorbis/os_types.h,v retrieving revision 1.5 diff -r1.5 os_types.h 26c26 < #ifdef __BEOS__ --- > #if defined (__BEOS__) || (defined(__unix__) && defined(__digital__)) --...
2002 Dec 10
2
mingw compiling problem for libogg
(i hope this is correct m.list) Hi, there is a small compiling problem for mingw when compiling on libogg.. in include/ogg/os_types.h : ogg_int64_t, ogg_int32_t, etc are defined correctly on cygwin and MSVC/Borland but not on mingw... i have attached a patch that will fix this problem (i hope it attaches correctly) thx, Nehal --- os_types.h.old Fri Jul 19 02:25:52 2002 +++ os_types.h Tue Dec 10 14:15:44 2002 @@ -32,6 +32...
2008 May 05
1
OS_type
We've now implemented an OS_type field in a package's DESCRIPTION file, which if set has to match .Platform$OS.type (possible values "unix" and "windows"). CRAN has set up some overrides and added this field to packages known to be Unix-only or Windows-only, but authors should do so for themselves in f...
2013 Aug 25
4
The error for creating a new vm for kvm
I checked the capabilities. I do not know why the guest is only for vbox. <guest> <os_type>hvm</os_type> <arch name='i686'> <wordsize>32</wordsize> <domain type='vbox'> </domain> </arch> </guest> I want it run qemu-kvm. and when i run virsh define /etc/libvirt/qemu/demo.xml. It shows error: Fa...
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
...T=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -I. -I. -I../include -I../include -O20 -fsigned-char -g -O2 -c framing.c -MT framing.lo -MD -MP -MF .deps/framing.TPlo -DDLL_EXPORT -DPIC -o .libs/framing.lo In file included from ../include/ogg/ogg.h:24, from framing.c:25: ../include/ogg/os_types.h:38:26: _G_config.h: No such file or directory In file included from ../include/ogg/ogg.h:24, from framing.c:25: ../include/ogg/os_types.h:39: parse error before "ogg_int64_t" ../include/ogg/os_types.h:39: warning: data definition has no type or storage class ../includ...
2017 Jul 31
0
[PATCH v11 08/10] daemon: Implement inspection of Linux and other Unix-like operating systems.
...ice; m_device = d } -> + Str.string_match re_primary_partition d 0 + in + + (* Try to find a "BSD primary", if there is one. *) + let bsd_primary = + List.find ( + function + | { fs_location = { mountable = mountable }; + role = RoleRoot { os_type = Some t } } -> + (t = OS_TYPE_FREEBSD || t = OS_TYPE_NETBSD || t = OS_TYPE_OPENBSD) + && is_primary_partition mountable + | _ -> false + ) fses in + + let bsd_primary_os_type = + match bsd_primary with + | { role = RoleRoot { os_type = Som...
2018 Sep 11
1
[PATCH] daemon: consider /etc/mdadm/mdadm.conf while inspecting mountpoints.
...index 170440d2c..9d54dadda 100644 --- a/daemon/inspect_fs_unix_fstab.ml +++ b/daemon/inspect_fs_unix_fstab.ml @@ -38,14 +38,15 @@ let re_xdev = PCRE.compile "^/dev/(h|s|v|xv)d([a-z]+)(\\d*)$" let rec check_fstab ?(mdadm_conf = false) (root_mountable : Mountable.t) os_type = - let configfiles = - "/etc/fstab" :: if mdadm_conf then ["/etc/mdadm.conf"] else [] in + let mdadmfiles = + if mdadm_conf then ["/etc/mdadm.conf"; "/etc/mdadm/mdadm.conf"] else [] in + let configfiles = "/etc/fstab" :: mdadmfiles in...
2018 Feb 14
1
[PATCH] inspect: use check_tests also for detecting Hurd
...DEBIAN; + (* Arch Hurd also exists, but inconveniently it doesn't have + * the normal /etc/arch-release file. XXX + *) +] + (* The currently mounted device may be a Hurd root. Hurd has distros * just like Linux. *) @@ -705,13 +716,7 @@ let rec check_hurd_root mountable data = let os_type = OS_TYPE_HURD in data.os_type <- Some os_type; - if Is.is_file "/etc/debian_version" ~followsymlinks:true then ( - let distro = DISTRO_DEBIAN in - ignore (parse_generic distro "/etc/debian_version" data) - ); - (* Arch Hurd also exists, but inconveniently it do...
2017 Aug 09
0
[PATCH v12 09/11] daemon: Implement inspection of Linux and other Unix-like operating systems.
...bleDevice; m_device = d } -> + PCRE.matches re_primary_partition d + in + + (* Try to find a "BSD primary", if there is one. *) + let bsd_primary = + List.find ( + function + | { fs_location = { mountable = mountable }; + role = RoleRoot { os_type = Some t } } -> + (t = OS_TYPE_FREEBSD || t = OS_TYPE_NETBSD || t = OS_TYPE_OPENBSD) + && is_primary_partition mountable + | _ -> false + ) fses in + + let bsd_primary_os_type = + match bsd_primary with + | { role = RoleRoot { os_type = Som...
2000 Jun 23
4
Compiling with GCC on win32?
Why does the source use `int64_t'. Is this suppose to be built with GCC? I have Mumit Kahns gcc, version 2.8.1. Do I need a 2.9.5 version to get the `int64_t' type? I have substituted a typedef of `long long' in os_types.h. This seems to make sense? The rint() macro also seems to be having some problems. I guess there are two meanings to __GNUC__ and _WIN32. One is the OS and the other is the compiler type. I tried the .dsw file in the distribution with VC6.00.2???, but nothing happened when I attempted to lo...
2017 Aug 08
1
Re: [PATCH v11 08/10] daemon: Implement inspection of Linux and other Unix-like operating systems.
...not map 1:1 the C implementations, but in OCaml it would be so much easier than in C (and that is basically what I'd have liked to do in the first place when implementing parse_os_release, but it'd have been so much memory waste). > +let rec check_linux_root mountable data = > + let os_type = OS_TYPE_LINUX in > + data.os_type <- Some os_type; > + > + let rec loop = function > + | (release_file, parse_fun) :: tests -> > + if verbose () then > + eprintf "check_linux_root: checking %s\n%!" release_file; > + if Is.is_file ~foll...
2001 Jan 19
1
tiny cygwin bug (& solution)
In the file os_types.h (ogg/include/ogg) cygwin (newest version) complains about some error on line 43. Apparently "typedef unsigned _G_int32_t ogg_uint32_t;" is an illegal line .. Anyone have any idea why ? .. Anyway, if "unsigned _G_int32_t" is replaced by "_G_uint32_t", cygwin compiles...
2017 Nov 21
2
[PATCH REPOST 1/2] common/mlstdutils: Add return statement.
No change, just reposting without the "for discussion" tag. I think we should allow this as it seems like a nice coding style for a limited subset of imperative-style code. Rich.
2017 Nov 05
2
[PATCH 0/2] (mainly for discussion) Add ‘return’ statement.
When rewriting the heavily imperative original inspection code, I longed for a ‘return’ statement so I could keep the new code as close as possible to the original. OCaml of course does not have such a statement, but it's relatively simply to implement it in the language. The first patch does so, and the second patch rewrites a sample of the inspection code to use it. Rich.