#319 closed defect (worksforme)
Warnings on compilation
| Reported by: | Paul Price | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | sys | Version: | 0.5.0 |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Compiling the rel5alpha1 tarball distribution on our dual Opteron machine, the
following error is generated upon "make install":
pslib_wrap.c: In function `_wrap_psScalar_data_S64_get':
pslib_wrap.c:22235: warning: long long int format, psS64 arg (arg 3)
pslib_wrap.c: In function `_wrap_psTime_sec_get':
pslib_wrap.c:33723: warning: long long int format, psS64 arg (arg 3)
pslib_wrap.c: In function `_wrap_psTimeLeapseconds':
pslib_wrap.c:34145: warning: long long int format, psS64 arg (arg 3)
Also got an error due to attempting to install into
/usr/lib/perl5/site_perl/5.8.5/x86_64-linux without root privelege.
Change History (3)
comment:1 by , 21 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 by , 21 years ago
| Keywords: | VERIFIED added |
|---|
Upgrading SWIG removes the error.
Using the version on the CVS mainline, I have no more path troubles.

The code generating your warnings was generated by SWIG, so it is hard for me to
say what is causing the warning. Did the make process stop due to these
warnings? All I can say is that I have swig 1.3.24 and gcc 3.3.4, and I do not
get any such warnings on my workstation. I could suppress all warnings when
compiling SWIG generated code, but I'd rather see them, probably.
As far as the problem with the default perl module installation, you can
override it with a configure option. Use 'configure --help' for more
information. I current CVS head version now installs the module in the same
location prefix as the psLib library installation. For me, the default is:
/home/desonia/panstarrs/psLib/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
(N.B., My working directory is /home/desonia/panstarrs/psLib)
-rdd