Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ultrix 4.4 and Perl 5.005_03 compilation. #359

p5pRT opened this issue Aug 9, 1999 · 1 comment


Copy link

@p5pRT p5pRT commented Aug 9, 1999

Migrated from (status was 'resolved')

Searchable as RT1193$


This comment has been minimized.

Copy link
Collaborator Author

@p5pRT p5pRT commented Aug 9, 1999


The Configure script fails when trying to check the existence of
fstat structure.

try.c​: In function `main'​:
try.c​:3​: storage size of `foo' isn't known
sh​: illegal io
jarrah> cat UU/try.c
#include <sys/param.h>
#include <sys/mount.h>
int main () { struct statfs foo; foo.f_flags = 0; }

statfs is defined as a function rather than a structure that perl expects.

  statfs, - get file system statistics

  #include <sys/types.h>
  #include <sys/param.h>
  #include <sys/mount.h>

  statfs(path, buffer)
  char *path;
  struct fs_data *buffer;

  The statfs library routine returns up-to-date information about a
  mounted file system. The path is the path name of any file within the
  mounted file system. The buffer is a pointer to an fs_data structure as

I encounter the same problem with Ultrix 4.3.

Is there a documented fix for this, its not obvious to me whether
I can un/define something in configure to skip this.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.