[torqueusers] Cannot compile torque-2.1.8

Lloyd Brown somewhere_or_other at byu.edu
Fri Jul 6 10:39:27 MDT 2007


I don't know if this'll be helpful, but I just got done compiling on a 
Debian Etch system, even including the PAM stuff, although I didn't 
compile to a .deb file.  I had the same problems during compilation, but 
it went away as soon as I installed the "libpam0g-dev" using apt-get, 
and re-ran the ./configure.  It seems that the runtime libraries (Debian 
package "libpam0g")  were installed by default, but not the development 
libraries.

Hope this helps,
Lloyd Brown


Garrick Staples wrote:
> On Fri, Jul 06, 2007 at 09:57:47AM +0000, Hans Meier alleged:
>   
>> I've tried to build a Debian package of Torque 2.1.8 with torque_2_deb (1.2.0). Following the manual by Bas, I've unpacked the contents of torque_2_deb into a subdirectory of the source directory of Torque (called "debian") and typed "debian/rules binary". However, the compilation fails with the following error message:
>> mkdir .libs
>>  gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -DPBS_SERVER_HOME=\"/var/spool/torque\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -MT pam_pbssimpleauth.lo -MD -MP -MF .deps/pam_pbssimpleauth.Tpo -c pam_pbssimpleauth.c  -fPIC -DPIC -o .libs/pam_pbssimpleauth.o
>> pam_pbssimpleauth.c:60: error: expected ')' before '*' token
>> pam_pbssimpleauth.c:199: error: expected ')' before '*' token
>> pam_pbssimpleauth.c:206: error: expected ')' before '*' token
>> make[3]: *** [pam_pbssimpleauth.lo] Error 1
>> make[3]: Leaving directory `/root/torque-2.1.8/src/pam'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/root/torque-2.1.8/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/root/torque-2.1.8'
>> make: *** [build] Error 2
>>
>> Am I missing something? What could be the cause here
>>     
>
> Something is different about the pam library on your box versus the one
> where I developed the pam module.
>
> Try again with --without-pam.
>
>
>   
>> - am I really the first one to compile this version of Torque?
>>     
>
> Heh, of course not!
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>   



More information about the torqueusers mailing list