Re: [Fink-users] libogdi3 and fink
On 3/27/12 7:09 PM, BABA Yoshihiko wrote: > Hi, > > I remember the same problem happened when I tried to update r-cran-rgdal. So, > the problem may occur with any package that uses proj. > > Does this mean like we should keep proj4-4.7.0 as proj4.7? > > Thanks > -- > BABA Yoshihiko That's an option. Or call the new one proj4.8. Unless there's a way to patch packages to use the new proj instead, which would be easier and better for everybody. :-) -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
Hi, I remember the same problem happened when I tried to update r-cran-rgdal. So, the problem may occur with any package that uses proj. Does this mean like we should keep proj4-4.7.0 as proj4.7? Thanks -- BABA Yoshihiko -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
I installed proj-4.7.0 about 1 month ago on another computer. I still have the file proj-4.7.0.tar.gz on this computer. Is there a way to install it without having any conflict with fink? Is there a way fink can pick this file? Does it take time to correct the packages on fink usually? Thanks! Dany On 2012-03-27, at 2:24 PM, Alexander Hansen wrote: > On 3/27/12 10:25 AM, Peter Dyballa wrote: >> Am 27.3.2012 um 16:36 schrieb Dany Plouffe: >> >>> /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:90:22: >>> error: projects.h: No such file or directory >> Presumingly this is the cause that triggers the next error... >> >> Are you able to list the contents of the libogdi3 sources archive, the >> TAR.GZ file, and "grep" for the missing C header file? It could be something >> like: >> >> gtar zvtf /sw/src/ogdi-3.1.5.tar.gz | grep projects.h >> >> If this file is listed, then something in the build process went wrong, >> presumingly the configure step. > There's no configure step in this package. > >> OTOH, the INFO file for libogdi3 lists dependencies from "proj" and >> "proj-shlibs", a cartographic projections library (which you surely know >> better than me). Is this installed? Can you also run: >> >> dpkg -S projects.h >> >> It will list projects.html files as well, but it should also mention the >> projects.h file from the proj (or proj-shlibs) package. If not, then their >> build and installation went wrong. > That would be "proj". .h files are *never* supposed to be in a -shlibs > package. >> If it is found, then presumingly the configure step had errors. It should >> still be available from the fink invocation... >> >> -- >> Greetings >> >> Pete >> >> Don't just do something, sit there. >> >> >> > The problem appears to be (thanks to Hanspeter N for pointing this out in > #fink) that proj has changed its contents. (cc'ing the maintainer for proj) > I was able to reproduce the error by updating proj, so I'd say that the build > is trying to find *this* file, rather than the projects.h file from the > libogdi3 source. I retract my prior suggestion. :-) > > proj-4.7.0 has: > > $ dpkg -L proj > /. > /sw > /sw/bin > /sw/include > /sw/include/nad_list.h > /sw/include/org_proj4_Projections.h > /sw/include/proj_api.h > /sw/include/projects.h > ... > > Whereas proj-4.8.0 has: > $ dpkg -L proj > /. > /sw32 > /sw32/bin > /sw32/bin/cs2cs > /sw32/bin/geod > /sw32/bin/nad2bin > /sw32/bin/proj > /sw32/include > /sw32/include/org_proj4_Projections.h > /sw32/include/proj_api.h > ... > i.e. projects.h has been removed. > > As a workaround, check if you happen to have an archive for the older 4.7.0 > version of proj, too, by using > >apt-cache policy proj > > If you have the older version, you should get something like: > > proj: > Installed: 4.8.0-1 > Candidate: 4.8.0-1 > Version table: > *** 4.8.0-1 0 >100 /sw32/var/lib/dpkg/status > 4.7.0-1 0 >500 file: unstable/main Packages > > If you don't have it, let me know and I can make copies of my archive files > available to you for download. > > for baba: I'm not sure whether libogdi3 needs to be update to a new version, > or to point at its own internal proj sources when building, or to use a > different header than projects.h when building against proj-4.8.0 > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/2012/02/21/got-job/ > -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
On 3/27/12 2:50 PM, Dany Plouffe wrote: > I installed proj-4.7.0 about 1 month ago on another computer. I still have > the file proj-4.7.0.tar.gz on this computer. Is there a way to install it > without having any conflict with fink? Is there a way fink can pick this file? That would work, and you can use that from within Fink. You don't even need to copy that source over (into /sw/src), though there's no reason not to do that. 1) Download the package description for proj-4.7.0 from http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/unstable/main/finkinfo/sci/proj.info?revision=1.10 making sure to save it as just "proj.info" 2) Move this proj.info into /sw/fink/dists/local/main/finkinfo 3) Use fink install proj-4.7.0-1 proj-shlibs-4.7.0-1 to install this version. Another option, if your other machine is also using 10.6/i386 Fink, would be: 1) copy /sw/fink/10.4/unstable/main/binary-darwin-i386/sci/proj-shlibs_4.7.0-1_darwin-i386.deb and /sw/fink/10.4/unstable/main/binary-darwin-i386/sci/proj_4.7.0-1_darwin-i386.deb over from your other system to the one where you're having problems. Or download the copies that I've built and placed online from: http://akh.users.finkproject.org/debs/proj_4.7.0-1_darwin-i386.deb http://akh.users.finkproject.org/debs/proj-shlibs_4.7.0-1_darwin-i386.deb 2) Use sudo dpkg -i /path/to/proj_4.7.0-1_darwin-i386.deb /path/to/proj-shlibs_4.7.0-1_darwin-i386.deb (replacing /path/to with the actual path to the files) > Does it take time to correct the packages on fink usually? It depends on what needs to be changed. > Thanks! > > Dany > > > -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
On 3/27/12 10:25 AM, Peter Dyballa wrote: > Am 27.3.2012 um 16:36 schrieb Dany Plouffe: > >> /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:90:22: >> error: projects.h: No such file or directory > Presumingly this is the cause that triggers the next error... > > Are you able to list the contents of the libogdi3 sources archive, the TAR.GZ > file, and "grep" for the missing C header file? It could be something like: > > gtar zvtf /sw/src/ogdi-3.1.5.tar.gz | grep projects.h > > If this file is listed, then something in the build process went wrong, > presumingly the configure step. There's no configure step in this package. > OTOH, the INFO file for libogdi3 lists dependencies from "proj" and > "proj-shlibs", a cartographic projections library (which you surely know > better than me). Is this installed? Can you also run: > > dpkg -S projects.h > > It will list projects.html files as well, but it should also mention the > projects.h file from the proj (or proj-shlibs) package. If not, then their > build and installation went wrong. That would be "proj". .h files are *never* supposed to be in a -shlibs package. > If it is found, then presumingly the configure step had errors. It should > still be available from the fink invocation... > > -- > Greetings > >Pete > > Don't just do something, sit there. > > > The problem appears to be (thanks to Hanspeter N for pointing this out in #fink) that proj has changed its contents. (cc'ing the maintainer for proj) I was able to reproduce the error by updating proj, so I'd say that the build is trying to find *this* file, rather than the projects.h file from the libogdi3 source. I retract my prior suggestion. :-) proj-4.7.0 has: $ dpkg -L proj /. /sw /sw/bin /sw/include /sw/include/nad_list.h /sw/include/org_proj4_Projections.h /sw/include/proj_api.h /sw/include/projects.h ... Whereas proj-4.8.0 has: $ dpkg -L proj /. /sw32 /sw32/bin /sw32/bin/cs2cs /sw32/bin/geod /sw32/bin/nad2bin /sw32/bin/proj /sw32/include /sw32/include/org_proj4_Projections.h /sw32/include/proj_api.h ... i.e. projects.h has been removed. As a workaround, check if you happen to have an archive for the older 4.7.0 version of proj, too, by using apt-cache policy proj If you have the older version, you should get something like: proj: Installed: 4.8.0-1 Candidate: 4.8.0-1 Version table: *** 4.8.0-1 0 100 /sw32/var/lib/dpkg/status 4.7.0-1 0 500 file: unstable/main Packages If you don't have it, let me know and I can make copies of my archive files available to you for download. for baba: I'm not sure whether libogdi3 needs to be update to a new version, or to point at its own internal proj sources when building, or to use a different header than projects.h when building against proj-4.8.0 -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
Am 27.3.2012 um 19:30 schrieb Alexander Hansen: >> gcc -I.. -I/sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/include/darwin >> -I/sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include >> -I/sw/include -I/sw/include -O -fno-common -I/sw/include -c -o ecs_dyna.o >> ../ecs_dyna.c >> In file included from >> /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs.h:353, >> from ../ecs_dyna.c:28: >> /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:90:22: >> error: projects.h: No such file or directory >> > ... > > That's odd, because I think the projects.h which it is looking for is in > the source distribution itself: > > $ tar -tvzf /sw/src/ogdi-3.1.5.tar.gz | grep project > -rw-r--r-- warmerda/users 6665 2000-10-29 13:58 ogdi-3.1.5/proj/projects.h The problem seems to be that no compiler flag includes the 'proj' subdirectory and that ecs_util.h does not include "proj/projects.h" but the too short "projects.h" file. Both could be cured with a patch... -- Greetings Pete How many Microsoft engineers does it take to screw in a light-bulb? None. They just redefine "dark" as the new standard. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
On 3/27/12 7:36 AM, Dany Plouffe wrote: > Hi, > > I am trying to install libogdi3 using fink. However, I get an error message > (I put it at the end of this message). > > I ran "fink selfupdate", I put only 1 simultaneous build job, and I also > tried to reboot the computer > > Here are extra informations, included with the error messages I got: > > Package manager version: 0.32.3 > Distribution version: selfupdate-rsync Tue Mar 27 10:24:21 2012, 10.6, i386 > Trees: local/main stable/main > Xcode: 3.2.6 > Max. Fink build jobs: 1 > > > Do you have any idea why it doesn't compile? > > Thanks! > > Dany > > --- > The error message: > > gcc -I.. -I/sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/include/darwin > -I/sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include > -I/sw/include -I/sw/include -O -fno-common -I/sw/include -c -o ecs_dyna.o > ../ecs_dyna.c > In file included from > /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs.h:353, > from ../ecs_dyna.c:28: > /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:90:22: > error: projects.h: No such file or directory > ... That's odd, because I think the projects.h which it is looking for is in the source distribution itself: $ tar -tvzf /sw/src/ogdi-3.1.5.tar.gz | grep project -rw-r--r-- warmerda/users 6665 2000-10-29 13:58 ogdi-3.1.5/proj/projects.h and according to the line you posted that should have been visible to the compiler. Maybe start by running ls -l /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/proj -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libogdi3 and fink
Am 27.3.2012 um 16:36 schrieb Dany Plouffe: > /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:90:22: > error: projects.h: No such file or directory Presumingly this is the cause that triggers the next error... Are you able to list the contents of the libogdi3 sources archive, the TAR.GZ file, and "grep" for the missing C header file? It could be something like: gtar zvtf /sw/src/ogdi-3.1.5.tar.gz | grep projects.h If this file is listed, then something in the build process went wrong, presumingly the configure step. OTOH, the INFO file for libogdi3 lists dependencies from "proj" and "proj-shlibs", a cartographic projections library (which you surely know better than me). Is this installed? Can you also run: dpkg -S projects.h It will list projects.html files as well, but it should also mention the projects.h file from the proj (or proj-shlibs) package. If not, then their build and installation went wrong. If it is found, then presumingly the configure step had errors. It should still be available from the fink invocation... -- Greetings Pete Don't just do something, sit there. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] libogdi3 and fink
Hi, I am trying to install libogdi3 using fink. However, I get an error message (I put it at the end of this message). I ran "fink selfupdate", I put only 1 simultaneous build job, and I also tried to reboot the computer. Here are extra informations, included with the error messages I got: Package manager version: 0.32.3 Distribution version: selfupdate-rsync Tue Mar 27 10:24:21 2012, 10.6, i386 Trees: local/main stable/main Xcode: 3.2.6 Max. Fink build jobs: 1 Do you have any idea why it doesn't compile? Thanks! Dany --- The error message: gcc -I.. -I/sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/include/darwin -I/sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include -I/sw/include -I/sw/include -O -fno-common -I/sw/include -c -o ecs_dyna.o ../ecs_dyna.c In file included from /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs.h:353, from ../ecs_dyna.c:28: /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:90:22: error: projects.h: No such file or directory In file included from /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs.h:353, from ../ecs_dyna.c:28: /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:1077: error: expected specifier-qualifier-list before 'PJ' /sw/src/fink.build/libogdi3-3.1.5-1007/ogdi-3.1.5/ogdi/include/ecs_util.h:1150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token make[3]: *** [ecs_dyna.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [c-api] Error 2 make: *** [ogdi] Error 2 ### execution of /tmp/fink.KC9h4 failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libogdi3-3.1.5-1007 (Reading database ... 16104 files and directories currently installed.) Removing fink-buildlock-libogdi3-3.1.5-1007 ... Failed: phase compiling: libogdi3-3.1.5-1007 failed -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users