creating rpm for Mageia and Fedora

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

creating rpm for Mageia and Fedora

Philippe Makowski
Hi,

I would like to create a rpm for Mageia and for Fedora

First problem :
setting FBINCDIR and FBLIBDIR
for Mageia and Fedora they have to be set to :

FBINCDIR=/usr/include/firebird/
FBLIBDIR=/usr/lib64/

or
FBINCDIR=/usr/include/firebird/
FBLIBDIR=/usr/lib/


makefile.environ seems to be modified for that

after a ugly patch
(just putting FBINCDIR=/usr/include/firebird/
FBLIBDIR=/usr/lib64/ after line 40 in makefile.environ)


the build fail :

cd ./Builds/Gcc.lin
make -f makefile.linux
../makefile.environ:12: ARCH is x86_64
../makefile.environ:27: ODBCMANAGER is unixODBC in /usr/lib64
../makefile.environ:48: FBINCDIR is /usr/include/firebird/
../makefile.environ:54: FBLIBDIR is /usr/lib64/

...

../../MainUnicode.cpp: In function ‘SQLRETURN SQLSetDescFieldW(void*,
SQLSMALLINT, SQLSMALLINT, void*, SQLINTEGER)’:
../../MainUnicode.cpp:1172:49: erreur: conversion from
‘ConvertingString<>’ to ‘int’ is ambiguous
../../MainUnicode.cpp:120:2: note: candidats sont:
ConvertingString<TypeRealLen>::operator SQLINTEGER() [with TypeRealLen =
short int, SQLINTEGER = int]
../../MainUnicode.cpp:119:2: note:
ConvertingString<TypeRealLen>::operator SQLSMALLINT() [with TypeRealLen
= short int, SQLSMALLINT = short int]
../../MainUnicode.cpp:117:2: note:
ConvertingString<TypeRealLen>::operator int() [with TypeRealLen = short int]
../../MainUnicode.cpp:115:2: note:
ConvertingString<TypeRealLen>::operator SQLCHAR*() [with TypeRealLen =
short int, SQLCHAR = unsigned char] <near match>
make: *** [Release_x86_64/obj/MainUnicode.o] Erreur 1



info :
$ gcc -v
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-mageia-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-mageia-linux-gnu
Configuré avec: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib64 --with-bugurl=http://bugs.mageia.org/
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--build=x86_64-mageia-linux-gnu --host=x86_64-mageia-linux-gnu
--with-cpu=generic --with-system-zlib --enable-threads=posix
--enable-shared --enable-objc-gc --enable-long-long
--enable-__cxa_atexit --disable-libunwind-exceptions
--enable-clocale=gnu --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo
--disable-libjava-multilib --enable-ssp --disable-libssp
--disable-werror --with-ppl --with-cloog
--with-python-dir=/lib/python2.7/site-packages --enable-lto
Modèle de thread: posix
gcc version 4.5.2 (GCC)

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Firebird-odbc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel