Re: [qmailadmin] Compile error (storage_t)

2011-07-31 Thread Phil B.
I assume I needed a header file for the storage type, but I took your
advice. Couldn't see 1.2.14, but 1.2.15 was there. As I was poking around I
noticed that the 1.2.16 is actually in the development folder, and different
applications have different policies on how, erm, stable, a development
release should be. I normally expect one that has a release tarred up, and
with a version number, to compile, even if it hasn't been as well tested. A
CVS/SVN/git repository, sure...

Anyway, 1.2.15 seems to have compiled, and moreover, seems to be working.
Thanks Mark!

On 31 July 2011 15:06, Mark Dennis  wrote:

> user.c:173: error: ‘storage_t’ undeclared (first use in this function)
>
> This same error came up for me. I was able to find the library that was
> missing and include it in the Makefile. I was able to compile but ran into
> other problems, and ultimately went back to the 1.2.14 version.
>
>
> Mark Dennis
> Network Consultant Engineer
> 760-953-2177
> --
> Sent from my Droid 


!DSPAM:4e35bcee32718490617917!


Re: [qmailadmin] Compile error (storage_t)

2011-07-31 Thread Mark Dennis
user.c:173: error: ‘storage_t’ undeclared (first use in this function)

This same error came up for me. I was able to find the library that was missing 
and include it in the Makefile. I was able to compile but ran into other 
problems, and ultimately went back to the 1.2.14 version.


Mark Dennis
Network Consultant Engineer
760-953-2177
-- 
Sent from my Droid

!DSPAM:4e35617732711390218429!


Re: [qmailadmin] Compile error (storage_t)

2011-07-31 Thread Rakesh Sharma


"Phil B."  wrote:

>I guess I'm missing a dev package which I must have had in the past and
>don't know (because I used to have qmailadmin on here), but compilation of
>qmailadmin 1.2.16 is failing. The last lines of make are as follows:
>
>make  all-am
>make[1]: Entering directory `/root/qmailadmin-1.2.16'
>gcc -I. -I/home/vpopmail/include  -I. -Wall -MT user.o -MD -MP -MF
>.deps/user.Tpo -c -o user.o user.c
>user.c: In function ‘show_user_lines’:
>user.c:173: error: ‘storage_t’ undeclared (first use in this function)
>user.c:173: error: (Each undeclared identifier is reported only once
>user.c:173: error: for each function it appears in.)
>user.c:173: error: expected ‘;’ before ‘diskquota’
>user.c:174: error: expected ‘;’ before ‘maxmsg’
>user.c:183: warning: implicit declaration of function ‘readuserquota’
>user.c:183: error: ‘diskquota’ undeclared (first use in this function)
>user.c:183: error: ‘maxmsg’ undeclared (first use in this function)
>make[1]: *** [user.o] Error 1
>make[1]: Leaving directory `/root/qmailadmin-1.2.16'
>make: *** [all] Error 2
>
>
>
>and for reference, this is what configure had to say. Any and all help
>gratefull received, and apologies for any info missing- just let me know, my
>typing fingers are at your command. You know. To an extent.
>
>./configure --enable-cgibindir=/home/www/shandy.selfloversworld.com/cgi-bin
>checking for a BSD-compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for a thread-safe mkdir -p... /bin/mkdir -p
>checking for gawk... gawk
>checking whether make sets $(MAKE)... yes
>checking build system type... i686-pc-linux-gnu
>checking host system type... i686-pc-linux-gnu
>checking for gcc... gcc
>checking whether the C compiler works... yes
>checking for C compiler default output file name... a.out
>checking for suffix of executables...
>checking whether we are cross compiling... no
>checking for suffix of object files... o
>checking whether we are using the GNU C compiler... yes
>checking whether gcc accepts -g... yes
>checking for gcc option to accept ISO C89... none needed
>checking for style of include used by make... GNU
>checking dependency style of gcc... gcc3
>checking how to run the C preprocessor... gcc -E
>checking whether ln -s works... yes
>checking whether make sets $(MAKE)... (cached) yes
>checking for ranlib... ranlib
>checking for library containing strerror... none required
>checking for crypt in -lcrypt... yes
>checking for crypt in -lshadow... no
>checking for an ANSI C-conforming const... yes
>checking for grep that handles long lines and -e... /bin/grep
>checking for egrep... /bin/grep -E
>checking for uid_t in sys/types.h... yes
>checking for dirent.h that defines DIR... yes
>checking for library containing opendir... none required
>checking for ANSI C header files... yes
>checking for sys/types.h... yes
>checking for sys/stat.h... yes
>checking for stdlib.h... yes
>checking for string.h... yes
>checking for memory.h... yes
>checking for strings.h... yes
>checking for inttypes.h... yes
>checking for stdint.h... yes
>checking for unistd.h... yes
>checking whether closedir returns void... no
>checking for dup2... yes
>checking for memset... yes
>checking for mkdir... yes
>checking for strcasecmp... yes
>checking for strchr... yes
>checking for strdup... yes
>checking for strncasecmp... yes
>checking for strrchr... yes
>checking for strstr... yes
>checking whether we should prohibit caching... no
>checking whether to require ip authentication... yes
>checking whether to display user index... yes
>checking whether to allow admins to modify user quotas... no
>checking whether to autofill domain name on login page... no
>checking whether to enable catchall accounts... yes
>checking whether to enable trivial password... yes
>checking whether to append the email to the end of the spam command... no
>checking whether to allow spam check enable/disable... no
>checking whether to show help pages... no
>checking for ezmlm-idx... yes
>configure: creating ./config.status
>config.status: creating Makefile
>config.status: creating config.h
>config.status: config.h is unchanged
>config.status: executing depfiles commands
>
>qmailadmin 1.2.16
>Current settings
>---
>   cgi-bin dir = /home/www/shandy.selfloversworld.com/cgi-bin
>  html dir = /var/www/html
> image dir = /var/www/html/images/qmailadmin
> image URL = /images/qmailadmin
>  template dir = /usr/local/share/qmailadmin
> qmail dir = /var/qmail
>  vpopmail dir = /home/vpopmail
>   autorespond dir = /usr/bin
> ezmlm dir = /usr/local/bin/ezmlm
> ezmlm idx = yes
>   mysql for ezmlm = yes
>  help = no
>  modify quota = no
>   domain autofill = no
> catchall accounts = yes
> trivial passwords = yes
> modify spam check = no
>
>
>

!DSPAM:4e3534a632712253416632!



Re: [qmailadmin] Compile error

2009-10-07 Thread Reza Iskandar Achmad
Hi Matt,

By deleting libvpopmail.so solve the issue. But, when I try to click cacth
all account, it returns blank page. It seems catch all account feature
doesn't work.

Thanks,
reza


On 10/7/09 9:06 PM, "Matt Brookings"  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Reza Iskandar Achmad wrote:
>> Hi Matt,
>> 
>> No I am running vpopmail 5.4.27
> 
> At some point you had 5.5 on the system.  Delete ~vpopmail/lib/libvpopmail.so
> and try again.
> - --
> /*
> Matt BrookingsGnuPG Key FAE0672C
> Software developer Systems technician
> Inter7 Internet Technologies, Inc. (815)776-9465
> */
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkrMoGIACgkQIwet2/rgZyyf8wCeNL9h2Ni3A+mLh4Mglosb7p0h
> Ds4An0JUthFoqFlpXpiEgN3iWbY08zgg
> =FCaB
> -END PGP SIGNATURE-



!DSPAM:4accaa7f32719130834883!



Re: [qmailadmin] Compile error

2009-10-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Samuel Walker wrote:
> Please unsubscribe me.

Please see list email headers for instructions.
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrMoZ8ACgkQIwet2/rgZyyfsACgg5aDOcKhimeDfAIr5DHrfVaJ
n7sAnjJCUvAl2RFvZrlMjxArrpzByNGL
=TGN6
-END PGP SIGNATURE-


RE: [qmailadmin] Compile error

2009-10-07 Thread Samuel Walker
Please unsubscribe me.

-Original Message-
From: Matt Brookings [mailto:m...@inter7.com] 
Sent: Wednesday, October 07, 2009 10:06 AM
To: Reza Iskandar Achmad
Cc: qmailadmin@inter7.com
Subject: Re: [qmailadmin] Compile error

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reza Iskandar Achmad wrote:
> Hi Matt,
> 
> No I am running vpopmail 5.4.27

At some point you had 5.5 on the system.  Delete ~vpopmail/lib/libvpopmail.so
and try again.
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrMoGIACgkQIwet2/rgZyyf8wCeNL9h2Ni3A+mLh4Mglosb7p0h
Ds4An0JUthFoqFlpXpiEgN3iWbY08zgg
=FCaB
-END PGP SIGNATURE-

!DSPAM:4acca0a832718230552174!



Re: [qmailadmin] Compile error

2009-10-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reza Iskandar Achmad wrote:
> Hi Matt,
> 
> No I am running vpopmail 5.4.27

At some point you had 5.5 on the system.  Delete ~vpopmail/lib/libvpopmail.so
and try again.
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrMoGIACgkQIwet2/rgZyyf8wCeNL9h2Ni3A+mLh4Mglosb7p0h
Ds4An0JUthFoqFlpXpiEgN3iWbY08zgg
=FCaB
-END PGP SIGNATURE-


Re: [qmailadmin] Compile error

2009-10-07 Thread Reza Iskandar Achmad
Hi Matt,

No I am running vpopmail 5.4.27

# vuserinfo -v
version: 5.4.27


On 10/7/09 8:59 PM, "Matt Brookings"  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Reza Iskandar Achmad wrote:
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
> 
> Are you running the vpopmail 5.5 branch?  If so, you'll need the qmailadmin
> 1.4 branch.
> - --
> /*
> Matt BrookingsGnuPG Key FAE0672C
> Software developer Systems technician
> Inter7 Internet Technologies, Inc. (815)776-9465
> */
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkrMnrEACgkQIwet2/rgZyz1EQCfYhDiDsolSfRe8Fqj4jGTraEd
> L1IAnRuPN4WShCL+LIS3OZmgvUau3d+m
> =YUay
> -END PGP SIGNATURE-



!DSPAM:4acc9ff532714066810273!



Re: [qmailadmin] Compile error

2009-10-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reza Iskandar Achmad wrote:
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'

Are you running the vpopmail 5.5 branch?  If so, you'll need the qmailadmin 1.4 
branch.
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrMnrEACgkQIwet2/rgZyz1EQCfYhDiDsolSfRe8Fqj4jGTraEd
L1IAnRuPN4WShCL+LIS3OZmgvUau3d+m
=YUay
-END PGP SIGNATURE-


Re: [qmailadmin] Compile error

2009-10-07 Thread Reza Iskandar Achmad
Hi,

Thank you for supporting me on this issue. I attach output from strace.


Thanks,
reza


On 10/7/09 7:24 PM, "Itamar Reis Peixoto"  wrote:

> Can you post your strace ?
> 
> strace -s255 -f -o out.txt qmailadmin
> 
> or use gdb, but for gdb I think we need to add -g to compile flags to
> enable debug.
> 
> 
> 
> 2009/10/7 Lendvai Péter :
>> Hi,
>> 
>> I am fighting with the same problem. It is a RHEL 5.3 box and qmailadmin
>> segfaults.
>> 
>> strace shows something that segfault happened around a call to vhckpw.
>> 
>> Any clues?
>> 
>> Thanks,
>> Peter
>> 
>> On 2009. október 7. 10.05.02 Reza Iskandar Achmad wrote:
>>> Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed.
>>> But http://server/cgi-bin/qmailadmin returns blank page. When I execute
>>> /usr/lib/cgi-bin/qmailadmin it returns segmentation faults.
>>> 
>>> Please anyone who could help. :)
>>> 
>>> reza
>>> 
>>> On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:
 I think it's  probably missing -ldl in the flags
 
 
 On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
 
  wrote:
> Hi All,
> 
> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its
> weird because previously I it successful compiled on same machine.
> 
> These are error lines I got when giving "make" command
> 
> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
> forward.o mailinglist.o user.o util.o printh.o auth.o template.o
> command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib
> -lvpopmail  -lcrypt -lcrypt
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> make[1]: *** [qmailadmin] Error 1
> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
> make: *** [all] Error 2
> 
> Please anyone out there help me to resolve this problem.
> 
> Thank you
> 
> reza
>>> 
>>> 
>> 
>> 
>> 
>> 
>> 
> 
> 



!DSPAM:4acc8a6f32711439112918!


out.txt
Description: Binary data


Re: [qmailadmin] Compile error

2009-10-07 Thread Itamar Reis Peixoto
Can you post your strace ?

strace -s255 -f -o out.txt qmailadmin

or use gdb, but for gdb I think we need to add -g to compile flags to
enable debug.



2009/10/7 Lendvai Péter :
> Hi,
>
> I am fighting with the same problem. It is a RHEL 5.3 box and qmailadmin
> segfaults.
>
> strace shows something that segfault happened around a call to vhckpw.
>
> Any clues?
>
> Thanks,
> Peter
>
> On 2009. október 7. 10.05.02 Reza Iskandar Achmad wrote:
>> Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed.
>> But http://server/cgi-bin/qmailadmin returns blank page. When I execute
>> /usr/lib/cgi-bin/qmailadmin it returns segmentation faults.
>>
>> Please anyone who could help. :)
>>
>> reza
>>
>> On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:
>> > I think it's  probably missing -ldl in the flags
>> >
>> >
>> > On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
>> >
>> >  wrote:
>> >> Hi All,
>> >>
>> >> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its
>> >> weird because previously I it successful compiled on same machine.
>> >>
>> >> These are error lines I got when giving "make" command
>> >>
>> >> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
>> >> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
>> >> forward.o mailinglist.o user.o util.o printh.o auth.o template.o
>> >> command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib
>> >> -lvpopmail  -lcrypt -lcrypt
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
>> >> collect2: ld returned 1 exit status
>> >> make[1]: *** [qmailadmin] Error 1
>> >> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
>> >> make: *** [all] Error 2
>> >>
>> >> Please anyone out there help me to resolve this problem.
>> >>
>> >> Thank you
>> >>
>> >> reza
>>
>>
>
>
> 
>
>



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4acc886232719388418318!



Re: [qmailadmin] Compile error

2009-10-07 Thread Itamar Reis Peixoto
Can you try Obtaining a stack trace using just GDB -->

https://fedoraproject.org/wiki/StackTraces



2009/10/7 Lendvai Péter :
> Hi,
>
> I am fighting with the same problem. It is a RHEL 5.3 box and qmailadmin
> segfaults.
>
> strace shows something that segfault happened around a call to vhckpw.
>
> Any clues?
>
> Thanks,
> Peter
>
> On 2009. október 7. 10.05.02 Reza Iskandar Achmad wrote:
>> Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed.
>> But http://server/cgi-bin/qmailadmin returns blank page. When I execute
>> /usr/lib/cgi-bin/qmailadmin it returns segmentation faults.
>>
>> Please anyone who could help. :)
>>
>> reza
>>
>> On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:
>> > I think it's  probably missing -ldl in the flags
>> >
>> >
>> > On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
>> >
>> >  wrote:
>> >> Hi All,
>> >>
>> >> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its
>> >> weird because previously I it successful compiled on same machine.
>> >>
>> >> These are error lines I got when giving "make" command
>> >>
>> >> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
>> >> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
>> >> forward.o mailinglist.o user.o util.o printh.o auth.o template.o
>> >> command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib
>> >> -lvpopmail  -lcrypt -lcrypt
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
>> >> collect2: ld returned 1 exit status
>> >> make[1]: *** [qmailadmin] Error 1
>> >> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
>> >> make: *** [all] Error 2
>> >>
>> >> Please anyone out there help me to resolve this problem.
>> >>
>> >> Thank you
>> >>
>> >> reza
>>
>>
>
>
> 
>
>



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4acc87d632713961356128!



Re: [qmailadmin] Compile error

2009-10-07 Thread Lendvai Péter
Hi,

I am fighting with the same problem. It is a RHEL 5.3 box and qmailadmin 
segfaults.

strace shows something that segfault happened around a call to vhckpw.

Any clues?

Thanks,
Peter

On 2009. október 7. 10.05.02 Reza Iskandar Achmad wrote:
> Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed.
> But http://server/cgi-bin/qmailadmin returns blank page. When I execute
> /usr/lib/cgi-bin/qmailadmin it returns segmentation faults.
>
> Please anyone who could help. :)
>
> reza
>
> On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:
> > I think it's  probably missing -ldl in the flags
> >
> >
> > On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
> >
> >  wrote:
> >> Hi All,
> >>
> >> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its
> >> weird because previously I it successful compiled on same machine.
> >>
> >> These are error lines I got when giving "make" command
> >>
> >> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
> >> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
> >> forward.o mailinglist.o user.o util.o printh.o auth.o template.o
> >> command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib
> >> -lvpopmail  -lcrypt -lcrypt
> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
> >> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
> >> collect2: ld returned 1 exit status
> >> make[1]: *** [qmailadmin] Error 1
> >> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
> >> make: *** [all] Error 2
> >>
> >> Please anyone out there help me to resolve this problem.
> >>
> >> Thank you
> >>
> >> reza
>
> 


!DSPAM:4acc870032711132611341!



Re: [qmailadmin] Compile error

2009-10-07 Thread Bèrto ëd Sèra
I have no idea of how qmailadmin works on Ubuntu, but on gentoo apache
needs suexec to execute it. And it can be tricky to fix, because
apache has a minimum uid and gid value for suexec. The situation on
gentoo is that you have vpopmail (the user apache needs to suexec to)
having 89:89, while your min allowed values are 1000:100.

I will not enter in strictly gentoo details as you do not need them,
but depending on how your logs are set (and what other stuff is
running your mail system) you should probably see some errors around.
Typically apache logs should report suexec policy violations.

Berto

2009/10/7 Reza Iskandar Achmad :
> Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed..
> But http://server/cgi-bin/qmailadmin returns blank page. When I execute
> /usr/lib/cgi-bin/qmailadmin it returns segmentation faults.
>
> Please anyone who could help. :)
>
> reza
>
>
> On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:
>
>> I think it's  probably missing -ldl in the flags
>>
>>
>> On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
>>  wrote:
>>> Hi All,
>>>
>>> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its weird
>>> because previously I it successful compiled on same machine.
>>>
>>> These are error lines I got when giving "make" command
>>>
>>> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
>>> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
>>> forward.o mailinglist.o user.o util.o printh.o auth.o template.o command.o
>>> show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail  -lcrypt
>>> -lcrypt
>>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [qmailadmin] Error 1
>>> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
>>> make: *** [all] Error 2
>>>
>>> Please anyone out there help me to resolve this problem.
>>>
>>> Thank you
>>>
>>> reza
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
> 
>
>



-- 
==
Constitution du 24 juin 1793 - Article 35. - Quand le gouvernement
viole les droits du peuple, l'insurrection est, pour le peuple et pour
chaque portion du peuple, le plus sacré des droits et le plus
indispensable des devoirs.

!DSPAM:4acc4f9e32712067712865!



Re: [qmailadmin] Compile error

2009-10-07 Thread Reza Iskandar Achmad
Ok, after add -ldl to LIBS line at Makefile, then compilation got succeed.
But http://server/cgi-bin/qmailadmin returns blank page. When I execute
/usr/lib/cgi-bin/qmailadmin it returns segmentation faults.

Please anyone who could help. :)

reza


On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:

> I think it's  probably missing -ldl in the flags
> 
> 
> On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
>  wrote:
>> Hi All,
>> 
>> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its weird
>> because previously I it successful compiled on same machine.
>> 
>> These are error lines I got when giving "make" command
>> 
>> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
>> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
>> forward.o mailinglist.o user.o util.o printh.o auth.o template.o command.o
>> show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail  -lcrypt
>> -lcrypt
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
>> collect2: ld returned 1 exit status
>> make[1]: *** [qmailadmin] Error 1
>> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
>> make: *** [all] Error 2
>> 
>> Please anyone out there help me to resolve this problem.
>> 
>> Thank you
>> 
>> reza
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 



!DSPAM:4acc4bb932711579950939!



Re: [qmailadmin] Compile error

2009-10-07 Thread Reza Iskandar Achmad
No clue in logs. Syslog, apache access and error logs. Anyone have a clue
for me?

thanks


On 10/7/09 12:50 PM, "Itamar Reis Peixoto"  wrote:

> sounds good
> 
> now I think you need to check your logs to see what's happening
> 
> I think you can cc  "Matt Brookings" ,  he it's
> working with vpopmail and can help with qmailadmin too.
> 
> 
> 
> On Wed, Oct 7, 2009 at 2:46 AM, Reza Iskandar Achmad
>  wrote:
>> Okay I got it, I added -ldl to LIBS in Makefile. Compilation success. But
>> when visiting http://server/cgi-bin/qmailadmin I got blank page.
>> 
>> Anw.. Its on Ubuntu Jaunty server
>> 
>> Many thanks,
>> 
>> reza
>> 
> 
> 
> 
> Itamar Reis Peixoto
> 
> e-mail/msn: ita...@ispbrasil.com.br
> sip: ita...@ispbrasil.com.br
> skype: itamarjp
> icq: 81053601
> +55 11 4063 5033
> +55 34 3221 8599
> 
> 
> 



!DSPAM:4acc47aa32711994515891!



Re: [qmailadmin] Compile error

2009-10-06 Thread Reza Iskandar Achmad
No clue at logs. Maybe you could help me to point where should I look for it?


--Original Message--
From: Itamar Reis Peixoto
To: qmailadmin@inter7.com
ReplyTo: qmailadmin@inter7.com
Subject: Re: [qmailadmin] Compile error
Sent: Oct 7, 2009 12:50

sounds good

now I think you need to check your logs to see what's happening

I think you can cc  "Matt Brookings" ,  he it's
working with vpopmail and can help with qmailadmin too.



On Wed, Oct 7, 2009 at 2:46 AM, Reza Iskandar Achmad
 wrote:
> Okay I got it, I added -ldl to LIBS in Makefile. Compilation success. But
> when visiting http://server/cgi-bin/qmailadmin I got blank page.
>
> Anw.. Its on Ubuntu Jaunty server
>
> Many thanks,
>
> reza
>



Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599





Sent from my BlackBerry® 9630 - Tour

!DSPAM:4acc2d1132711965362180!



Re: [qmailadmin] Compile error

2009-10-06 Thread Itamar Reis Peixoto
sounds good

now I think you need to check your logs to see what's happening

I think you can cc  "Matt Brookings" ,  he it's
working with vpopmail and can help with qmailadmin too.



On Wed, Oct 7, 2009 at 2:46 AM, Reza Iskandar Achmad
 wrote:
> Okay I got it, I added -ldl to LIBS in Makefile. Compilation success. But
> when visiting http://server/cgi-bin/qmailadmin I got blank page.
>
> Anw.. Its on Ubuntu Jaunty server
>
> Many thanks,
>
> reza
>



Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4acc2c3b32711324216373!



Re: [qmailadmin] Compile error

2009-10-06 Thread Reza Iskandar Achmad
Okay I got it, I added -ldl to LIBS in Makefile. Compilation success. But
when visiting http://server/cgi-bin/qmailadmin I got blank page.

Anw.. Its on Ubuntu Jaunty server

Many thanks,

reza


On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:

> I think it's  probably missing -ldl in the flags
> 
> 
> On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
>  wrote:
>> Hi All,
>> 
>> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its weird
>> because previously I it successful compiled on same machine.
>> 
>> These are error lines I got when giving "make" command
>> 
>> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
>> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
>> forward.o mailinglist.o user.o util.o printh.o auth.o template.o command.o
>> show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail  -lcrypt
>> -lcrypt
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
>> collect2: ld returned 1 exit status
>> make[1]: *** [qmailadmin] Error 1
>> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
>> make: *** [all] Error 2
>> 
>> Please anyone out there help me to resolve this problem.
>> 
>> Thank you
>> 
>> reza
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 



!DSPAM:4acc2b5e32711816711068!



Re: [qmailadmin] Compile error

2009-10-06 Thread Reza Iskandar Achmad

Hi,

Thanks for your prompt response. How I can fix that missing flags?

reza

On 10/7/09 12:28 PM, "Itamar Reis Peixoto"  wrote:

> I think it's  probably missing -ldl in the flags
> 
> 
> On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
>  wrote:
>> Hi All,
>> 
>> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its weird
>> because previously I it successful compiled on same machine.
>> 
>> These are error lines I got when giving "make" command
>> 
>> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
>> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
>> forward.o mailinglist.o user.o util.o printh.o auth.o template.o command.o
>> show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail  -lcrypt
>> -lcrypt
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
>> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
>> collect2: ld returned 1 exit status
>> make[1]: *** [qmailadmin] Error 1
>> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
>> make: *** [all] Error 2
>> 
>> Please anyone out there help me to resolve this problem.
>> 
>> Thank you
>> 
>> reza
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 



!DSPAM:4acc28f632715438884762!



Re: [qmailadmin] Compile error

2009-10-06 Thread Itamar Reis Peixoto
I think it's  probably missing -ldl in the flags


On Wed, Oct 7, 2009 at 2:25 AM, Reza Iskandar Achmad
 wrote:
> Hi All,
>
> I am trying to compile qmailadmin-1.2.13 but keep getting errors. Its weird
> because previously I it successful compiled on same machine.
>
> These are error lines I got when giving "make" command
>
> make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
> gcc  -g -O2 -Wall   -o qmailadmin  qmailadmin.o alias.o autorespond.o
> forward.o mailinglist.o user.o util.o printh.o auth.o template.o command.o
> show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail  -lcrypt
> -lcrypt
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlsym'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlerror'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlopen'
> /home/vpopmail/lib/libvpopmail.so: undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> make[1]: *** [qmailadmin] Error 1
> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
> make: *** [all] Error 2
>
> Please anyone out there help me to resolve this problem.
>
> Thank you
>
> reza
>
>
>
> 
>
>



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4acc26f832715523213116!



Re: [qmailadmin] compile error

2004-02-13 Thread Rick Widmer


Orlando Gentil wrote:

When I tried to compile, an error:

	"file vlimits.h not found"

Who provides this file?
vpopmail.

Please note, the first sentence in the INSTALL file of qmailadmin:

QmailAdmin 1.2.0 and later requires Vpopmail 5.4.0 or later.



I?m already running vpopmail 5.2.1 and qmailadmin 1.0.6.




Re: [qmailadmin] compile error

2003-01-10 Thread Michael Bowe
- Original Message -
From: "Paul Theodoropoulos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 11, 2003 5:48 AM
Subject: [qmailadmin] compile error


>
> i'm getting the following error trying to compile qmailadmin 1.07, which
> i've never run across in previous version builds.
>
> solaris 9, sparc, gcc 3.2.1
>
> make  all-recursive
> make[1]: Entering directory
> `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003'
> make[2]: Entering directory
> `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003'
> gcc -I. -I/u1/include  -O3 -c alias.c
> alias.c: In function `show_dotqmail_lines':
> alias.c:80: `alphasort' undeclared (first use in this function)
> alias.c:80: (Each undeclared identifier is reported only once
> alias.c:80: for each function it appears in.)
> make[2]: *** [alias.o] Error 1
> make[2]: Leaving directory
> `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003'
> make: *** [all-recursive-am] Error 2

I did a bit of a search on the web and found some other references to the
scandir() function using the alphasort paramater failing to compile on
solaris

The way that call has been written in the 1.0.7 code seems to match exactly
with the example I get when I run "man scandir" on my Redhat linux box  :

EXAMPLE
   /* print files in current directory in reverse order */
   #include 
   main(){
   struct dirent **namelist;
   int n;

   n = scandir(".", &namelist, 0, alphasort);
   if (n < 0)
   perror("scandir");
   else {
   while(n--) {
   printf("%s\n", namelist[n]->d_name);
   free(namelist[n]);
   }
   free(namelist);
   }
   }

Not sure what the fix is to make it compatible with solaris..

ps. v1.0.7  does compile ok for me under redhat

Michael.