#17502 closed submission (fixed)
qore-0.7.2 new port submission
Reported by: | nicholsman@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | qore |
Description
Portfile for qore-0.7.2, supports building universal binaries
Attachments (1)
Change History (9)
Changed 16 years ago by nicholsman@…
comment:1 Changed 16 years ago by nicholsman@…
BTW: I am also the maintainer of this port listed in the portfile - I am the author of Qore, in the portfile I used an alias for this email address here (david_nichols@…) - would be happy to maintain this port in macports as well... thanks david
comment:2 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | qore removed |
---|---|
Port: | qore added |
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Portfile looks good, except for one small change: the master_sites
line should just say "sourceforge
"; MacPorts has a built-in list of SourceForge mirrors, and it knows how to construct the distfile name and append it to the URL.
The line "configure.cxxflags -I${prefix}/include
" shouldn't be necessary either since MacPorts already puts -I${prefix}/include
into the CPPFLAGS. However I'll reserve judgment on that until we actually get the software building, because at the moment, it doesn't for me, on Mac OS X 10.4.11 Intel:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /mp/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc-4.0... gcc3 checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 byte ordering is bigendian... no checking for flex 2.5.31 or greater... yes (flex 2.5.35) checking for bison... bison -y checking for bison 1.85 or greater... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking dependency style of /usr/bin/g++-4.0... gcc3 checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking build system type... i386-apple-darwin8.11.1 checking host system type... i386-apple-darwin8.11.1 checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.0 static flag -static works... no checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.11.1 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) is GNU ld... no checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes checking if /usr/bin/g++-4.0 static flag -static works... no checking if /usr/bin/g++-4.0 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.11.1 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... (cached) ranlib checking dependency style of /usr/bin/gcc-4.0... gcc3 checking for zlib libraries and header files... includes /usr/include libs /usr/lib (shared) checking for pcre libraries and header files... configure: error: no pcre library found
It's not finding zlib or pcre in ${prefix}. The zlib and pcre ports are definitely installed and active.
comment:4 Changed 16 years ago by nicholsman@…
I will fix the Portfile.
I have patched qore's configure in svn to look for dependent libraries/headers under --prefix first.
If the --prefix was another tree that qore's configure didn't expect, that would explain why the pcre check failed, so in that case the patch I just made to svn would fix that problem.
so please let me know how I can get you the updated code to test - shall I attach a new Portfile and new qore package to this ticket?
thanks david
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Gotcha, you were searching various hardcoded paths specifically, including the standard MacPorts prefix /opt/local, but I have MacPorts installed in a weird prefix.
I added the fix from your svn and the port built just fine, so I committed it in r43613 (and reverted an oops in r43614). I changed it to a patch to configure, because a patch to configure.ac would mean we'd have to have the port run autoreconf, and if I can avoid it I prefer not to make the user install the autotools.
comment:6 Changed 16 years ago by nicholsman@…
awesome, thanks. you did all the hard work then :-)
you are cool.
thanks david
comment:7 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:8 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
Portfile for qore-0.7.2