Date: Tue, 3 Jul 2001 08:50:04 -0700 (PDT) From: Mikhail Teterin <mi@aldan.algebra.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/24467: new ports graphics/libfpx Message-ID: <200107031550.f63Fo4549988@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/24467; it has been noted by GNATS. From: Mikhail Teterin <mi@aldan.algebra.com> To: iwaki@bsp.bc.niigata-u.ac.jp Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/24467: new ports graphics/libfpx Date: Tue, 3 Jul 2001 11:48:20 -0400 (EDT) On 3 Jul, Mamoru Iwaki wrote: > Hi, > > On my PentiumPro machine with 4.3-stable, libfpx ports cannot be > compiled as bellow. Strange, me here and bento don't seem to have problems. Could you investigate? If there is a define missing, that configure creates, please, let me know... > An easy way to clear the problem, I think, is the following > modifications in Makefile, i.e. using `configure`. Now my question is > > Why need files/Makefile.BSD? > > It looks ad-hoc and very particular to FreeBSD. Well, I'm not sure, what's so "ad-hoc" about it, but yes, it is particular to FreeBSD -- hence the name (I'm quite certain it will work on other BSDs -- patches welcome). > The use of `configure` is recommended in the installation instruction > of this software, and it is a more generic solution for portability > for the future even if no error is observed now in daily rebuild of > this port. I tried using configure and the "recommended" build procedure. I don't remember the details, but I think it tries to build separate little libraries and build its own libjpeg. Generally, when the size of patches aproaches the size of the custom Makefile, I write the custom Makefile. The ports system only needs to be portable between BSDs. I believe, my aproach is fine. In this particular case, check if you have an include file conflict. Do you have a common.h in /usr/local/include by a chance? > =====< error example >===== > c++ -O -pipe -march=pentiumpro -I/usr/local/include -D_UNIX > -fno-rtti -fno-exceptions > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/oless/h > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/jpeg > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ole > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/basics > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_image > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/oless > -I/amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/fpx > -c > /amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_image/cp32to24.cpp > -o cp32to24.o > /amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_image/cp32to24.cpp: > In method `Boolean obj_Compresseur32Vers24::Decompresse(int8 *, > short int, short int, int8 *, long int)': > /amd/mi004/home2/FreeBSD-src/stable4/ports/graphics/libfpx/work/libfpx-1.2.0/ri_ > image/cp32to24.cpp:154: implicit declaration of function `int assert(...)' > *** Error code 1 > =====< error example >===== > --- > ----- > Mamoru IWAKI (iwaki@bc.niigata-u.ac.jp) > Graduate School of Science and Technology, Niigata University -- |\__-----__/| _____/ ::::: :::\_____ '__--( ::::::::..::)--__` -mi If you have a / _- \/ :::::::\/ -_ serious knowledge / / :. .::::\ \ about computers -- | ::::::::::::| Ok, let's say you broke keep it in a secret! _|/ ::::____::\|_ the wall with your head "Rules of dating", / /:::::/:_::\::\:.\ What are you going to 'Playboy', ? 1994 | :| ..:(_/ \::|::|::| do in the next cell? | :|:::::. ::|: |::|.:| Stanislaw J. Lec \ |:: :::_/::/: :|:/ ((___\____\____/___/___)) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107031550.f63Fo4549988>