Friday 15 August 2014

Install git-core +svn fails with MacPort -


I tried several groups, cleaned all, and no luck. any suggestion?

  Install Sudo Port git-core + svn + doc --- & gt; Git-core --- & gt; Computing reliance Building db46 error: Target returned org.macports.build: shell command "cd" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix "& amp ; & Amp; / usr / Bin / make -j2 All "returned error 2 command output: / bin / sh ./libtool --mode = compile /usr/bin/gcc-4.2 -c -O2-arch x86_64 -i / Dist / .. -i / opt / local / included- I / system / library / framework / JavaWheckwork / version / current / headers ../dist/../db_dump185/db_dump185.c / bin / sh. / Libtool --mode = compiled / usr / bin / gcc-4.2 -ci -i./dist/..-i/opt local / include -i / system / lib Rary / frameworks / JavaVM.framework / editions / current / headers-o2-arch x86_64../dist/../common/Util_sig.c /usr/bin/gcc-4.2 -c -O2 -arch x86_64 -i / Dist / .. -i / opt / local / include -i / system / library / frameworks / JavaVM.framework / version / current / headers ../dist/../db_dump185/db_dump185.c -fno-common - DPIC -o .libs / db_dump185.o /usr/bin/gcc-4.2-cI-i./dist/..-i/optip/local-en/customter/library/findworks/JavaVM.framework/variants / current / headers-O 2-arch x86_64 ../dist/../common/ util_sig.c -fno- common -DPIC -o .libs / util_sig.o ../dist/../db_dump185/db_dump185.c : 'Main' at the ceremony: ../dist/../db_dump185/db_dump185.c: 211: Warning: work a cast ../dist/../db_dump185/db_dump185.c:213 : Warns: The work creates a cast ../dist/../db_dump185/db_dump185 without any integer. C: 228: Error: No member of 'DB' is 'CEC' .. ../dist/ ../db_dump185/db_dump185.c:228: error: 'Ar_anaksti' undeclared (first use in this function) ../dist /../db_dump185/db_dump185.c:228: error: (reportedly each undeclared identifier only Once ../dist/../db_dump185/db_dump185.c:228: Error:. For each task it appears in) .. /dist/../db_dump185/db_dump185.c:233: Error: In the function 'db_hash': 'db' member no 'seq' ../dist/../ ../dist called db_dump185 / db_dump185.c /../db_dump185/db_dump185.c:261: error: 'dB' I do not have named Amber 'internal' Kk/dist/kk/db_dumpl85/db_dumpl85kc: 263: error: 'dB, a member of the' internal '.. / dist /../ db_dump185 / db_dump185.c: function' Db_btree ': ../dist/../db_dump185/db_dump185.c888: error : 'DB' is not a member of the name 'internal': *** [db_dump185.lo] 1 error: Waiting for 1 Incomplete Jobs .... /usr/bin/gcc-4.2-c-i-i./dist/..-i/optip/local-sy-i/system/library/workworks/JavaVM.framework/Version / Current / Headers-O2-arch x86_64 ../dist/../common/ util_sig.c -o use_sig.o & gt; / Dev / null 2 ​​& gt; & Amp; 1 Error: failed to produce the following dependency: P 5-svn- simple Todfod- perlbindings April util db46 CYRUS sasl2 suffered during gettext neon serf sabotage P5 period -readkey Rsync Popt error: Case 1 processing.  

This is suggested (as and) which is / usr / local and then running The ports are clean db46 and then installing them will fix things.

This did not work for me, however, it did:

  using the sudo mv / usr / local / usr/local.hold # -f reliance ignore To do this, because we are about to install it again sudo port -f uninstall db46 sudo port clean db46 # See the note below, you really want to install a slightly different # (such as your GIT-core installation) sudo port install Db46 sudo mv /usr/local.hold/usr/ local  

I do not really know that in my case / usr / local steps were relevant - I have no doubt, because I have DB 46 is not installed. I think this was just because a previous version of DB 46 was causing the problem.

This kills me as a bug in db46 and / or its port definition or configures script or something, so that it refers to a header that is installed on the system , Instead of the version of the same header file from the build tree in it. I have not dug to find it, though.

Also note: I was actually making it for another port, and wanted it + universal type (not sure why, but whatever) - then my port installation step It was a bit useless at the time, because when I installed the port installed on another port, he did it again; universal, and the same problem was again ! Ahh. However, sudo port -f uninstall db46 and sudo port is clean db46 and then everything my main setup is working.


No comments:

Post a Comment