FreeBSD 6.2 installation - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: FreeBSD 6.2 installation (/thread-9842.html) |
FreeBSD 6.2 installation - timipl - 03-04-2010 09:13 AM Hello I have installed Freebsd 6.2 and i will try install ispcp and when i execute command make then i get this error --------------------------- lr_syntax.c:19: error: conflicting types for 'readlink' /usr/include/unistd.h:406: error: previous declaration of 'readlink' was here lr_syntax.c:19: error: conflicting types for 'readlink' /usr/include/unistd.h:406: error: previous declaration of 'readlink' was here *** Error code 1 -------------------------- I know that the problem is in unistd.h and lr_syntax.c between declaration but i can't solve this issue :/ My line 406 in unistd.h --------------------------- int readlink(const char *, char *, int); --------------------------- My line in lr_syntax.c --------------------------- ssize_t readlink(const char * __restrict, char * __restrict, size_t); --------------------------- Thank you for any help RE: FreeBSD 6.2 installation - gOOvER - 03-04-2010 09:20 AM Which install Doc do you use?? RE: FreeBSD 6.2 installation - timipl - 03-04-2010 09:53 AM i solve my problem but in ispcp documentation you don't found any information abut this issue i changed line 406 in /usr/include/unistd.h from: int readlink(const char *, char *, int); to: int readlink(const char * __restrict, char * __restrict, size_t); and i compiled everything . Cheerssssssssssssssss RE: FreeBSD 6.2 installation - gOOvER - 03-04-2010 10:34 AM @BeNe: Can you check this and change it?? RE: FreeBSD 6.2 installation - Nuxwin - 03-04-2010 11:54 AM (03-04-2010 09:53 AM)timipl Wrote: i solve my problem but in ispcp documentation you don't found any information abut this issue i changed line 406 in /usr/include/unistd.h Hello ; Oh god... You have changed the content of unistd.h header file ? In my opinion it not good solution. This file is part of the Single Unix Specification and can be used by another programs. First, the better is to use FreeBSD 7.1 / 7.2 as recommended by Bene. If not, a better solution should be based on this: http://isp-control.net/forum/thread-6925-post-69330.html#pid69330 Best Regards ; RE: FreeBSD 6.2 installation - BeNe - 03-04-2010 04:52 PM @timipl Why do you use FreeBSD 6.2 ? The current Version is FreeBSD 8-RELEASE-p2 and has not such problems as you can see here with ispCP--> http://www.isp-control.net/documentation/doku.php?id=start:installation:freebsd I Updated the HowTo for ispCP 1.0.4 on FreeBSD 8, during this time i compiled all needed packages und ispCP several times without any problems. Greez BeNe RE: FreeBSD 6.2 installation - timipl - 03-05-2010 10:30 AM i Can't use FreeBSD 7.1 or 7.2 because i have 10 server's configured as WWW+Haproxy (works perfect) and this operation is very big deal for me right now. Btw 7.1 is to stable like 6.2 i try with 3 machines with 7.1 and in apache benchmark test 6.2 had better result than 7.1 . After installation and run setup installation i get this errors : postmap: fatal: open /usr/local/etc/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access}: No such file or directory Can't exec "/usr/local/sbin/makeuserdb": No such file or directory at /usr/local/www/ispcp/engine/setup/../ispcp_common_methods.pl line 759. ERROR: External command '/usr/local/sbin/makeuserdb' returned '72057594037927935' status ! testserveredge4# /usr/local/sbin/makeuserdb /usr/local/sbin/makeuserdb: Command not found. i don't understand why ispcp want makeuserdb yet this command exist in Linux ? Regards RE: FreeBSD 6.2 installation - BeNe - 03-05-2010 04:46 PM Quote:postmap: fatal: open /usr/local/etc/postfix/ispcp/{aliases,domains,mailboxes,transport,sender-access}: No such file or directoryBut the files exists now after the setup ? Code: Can't exec "/usr/local/sbin/makeuserdb": No such file or directory at /usr/local/www/ispcp/engine/setup/../ispcp_common_methods.pl line 759. Code: matrix# uname -a Greez BeNe |