----- Original Message ----- > ----- Original Message -----
> > Hi, I'm new in this mailing list. > > > I want to use mod_wsgi with python 3. > > > but someone tell me mod_wsgi in fedora is compiled with python 2 and > > suggest > > me to recompile it. > > > However, when i recompile it, it show this message > > > /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 > > -Wl,-z,relro,-z,now -o mod_wsgi.la -rpath /usr/lib64/httpd/modules -module > > -avoid-version mod_wsgi.lo -L/usr/lib64 -L/usr/lib64/python3.3/config > > -lpython3.3 -lpthread -ldl -lutil -lm > > > /usr/bin/ld: cannot find -lpython3.3 > > > collect2: error: ld returned 1 exit status > > > apxs:Error: Command failed with rc=65536 > > > . > > > make: *** [ mod_wsgi.la ] Error 1 > > > My ./configure argument: > > > ./configure --with-python=/usr/bin/python3 --with-apxs=/usr/bin/apxs > > --enable-shared > > > I want to know what arguments fedora used. > > Hi, > maybe fedora's python-devel list is a better place to ask [1], but since you > asked here: I don't know why, but I got the impression that I'm reading this on python's upstream "dev" list, which I'm not... sorry for the confusion :) > You can always have a look at Fedora's dist-git, where mod_wsgi.spec is [2] - > there may be some unexpanded macros, but if you look at build log at Koji > [3], you'll see them expanded as they were used for the official build. > Hope this helps. > -- > Regards, > Bohuslav "Slavek" Kabrda. > [1] https://lists.fedoraproject.org/pipermail/python-devel/ > [2] http://pkgs.fedoraproject.org/cgit/mod_wsgi.git/tree/mod_wsgi.spec > [3] > http://kojipkgs.fedoraproject.org//packages/mod_wsgi/3.4/11.fc21/data/logs/x86_64/build.log > _______________________________________________ > python-devel mailing list > python-devel@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/python-devel -- Regards, Bohuslav "Slavek" Kabrda.
_______________________________________________ python-devel mailing list python-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/python-devel