Re: [Exim] Build exim with make -j 4

Pàgina inicial
Delete this message
Reply to this message
Autor: Dan Egli
Data:  
A: Arkadiusz Patyk
CC: exim-users
Assumpte: Re: [Exim] Build exim with make -j 4
Arkadiusz Patyk wrote:

> Hi,
>
> I have problem with build exim simultaneously.
>
> + make -j 4 CC=i686-pld-linux-gcc CFLAGS=-O2 -march=i686
> LOOKUP_CDB=yes XLFLAGS=-L/usr/X11R6/lib X11_LD_LIB=/usr/X11R6/lib
> LOOKUP_MYSQL=yes LOOKUP_PGSQL=yes LOOKUP_WHOSON=yes LOOKUP_LDAP=yes
> LDAP_LIB_TYPE=OPENLDAP2 LOOKUP_LIBS=-lldap -llber -lmysqlclient -lpq
> -lwhoson LOOKUP_INCLUDE=-I/usr/include/mysql -I/usr/include/pgsql
> /bin/sh: cd:
> /home/areq/rpm/BUILD/exim-4.33/build-Linux-IntelR_XeonTM_CPU_2.40GHz -
> No such file or directory
> make[1]: Entering directory `/home/areq/rpm/BUILD/exim-4.33'
>
>
>>>>Creating links to source files...
>
> mkdir: cannot create directory
> `build-Linux-IntelR_XeonTM_CPU_2.40GHz': File exists
> *** It appears that ../scripts/MakeLinks was previously interrupted.
> *** You need to remove the build directory, and then run 'make' again.
> make[1]: *** [build-directory] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[2]: Entering directory
> `/home/areq/rpm/BUILD/exim-4.33/build-Linux-IntelR_XeonTM_CPU_2.40GHz'
> make[2]: *** No targets specified and no makefile found. Stop.
> make[2]: Leaving directory
> `/home/areq/rpm/BUILD/exim-4.33/build-Linux-IntelR_XeonTM_CPU_2.40GHz'
> make[1]: *** [go] Error 2
> make[1]: Leaving directory `/home/areq/rpm/BUILD/exim-4.33'
> make: *** [go] Error 2
> make: *** Waiting for unfinished jobs....
>
> make-3.80-5
> gcc-3.3.3-2
> glibc-2.3.3-0.20040101.13
>
> make without -j build OK.
>
>
> --
> Arkadiusz Patyk [areq(at)pld-linux.org] [http://rescuecd.pld-linux.org/]
> [IRC:areq ICQ:16231667 GG:1383] [AP3-6BONE] [AP14126-RIPE]
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


Looks to me like something is screwing up the script that returns what
kind of arch you are on. Does make without the -j still make a dir
called build-Linux-IntelR_XeonTM_CPU_2.40GHz? IT could be that Exim's
makefile just doesn't lend itself to -j very well. Have you tried lower
j's? like -j 2 or something?

--
-- Dan