Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Package install problem

Aloittaja swampy, marraskuu 25, 2010, 06:26:15 IP

« edellinen - seuraava »

swampy

I feel dumb as heck asking this but I am at my wits end.

I get the folowing message when attempting to install a package, any package.

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

I set everything to 0777 and can not understand why I am still getting the above message.

Would appreicate an assist please.


Deaks

in your Packages folder create a new folder called temp and chmode it to  777
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

swampy


anna1

I am getting errors when trying to install the database package. I have the following installed:

octave.3.2.3_gcc-4.4.0
swigwin-2.0.0

MinGW with the following packages:
mingwrt
w32api
binutils
gcc
g++
java
objc
mingw32-make

on Windows XP/2002 SP 2

When I try to install database-1.0.4 using pkg install database-1.0.4 I get the following errors:

" >>> pkg install database-1.0.4.tar.gz odbc_wrap.cpp:

In member function 'void octave_swig_type::install_global()': odbc_wrap.cpp:1197: error: 'curr_sym_tab' was not declared in this scope odbc_wrap.cpp:1197:
error: 'link_to_global_variable' was not declared in this s cope odbc_wrap.cpp:1204:
error: 'symbol_record' was not declared in this scope odbc_wrap.cpp:1204:
error: 'sr' was not declared in this scope odbc_wrap.cpp:1204:
error: 'global_sym_tab' was not declared in this scope odbc_wrap.cpp:
In function 'void SWIG_Octave_SetModule(void*, swig_module_info* )': odbc_wrap.cpp:2110:
error: 'curr_sym_tab' was not declared in this scope odbc_wrap.cpp:2110:
error: 'link_to_global_variable' was not declared in this s cope odbc_wrap.cpp:
In function 'SQLRETURN SQLGetData(void*, SQLUSMALLINT, std::stri ng*, SQLINTEGER*)': odbc_wrap.cpp:2429:
warning: comparison between signed and unsigned integer exp ressions odbc_wrap.cpp:2431:
warning: comparison between signed and unsigned integer exp ressions odbc_wrap.cpp:
In function 'octave_value_list _wrap_SQLExtendedFetch(const octa ve_value_list&, int)': odbc_wrap.cpp:5287:
error: 'SQLROWSETSIZE' was not declared in this scope odbc_wrap.cpp:5287:
error: 'arg4' was not declared in this scope odbc_wrap.cpp:5287:
error: expected primary-expression before ')' token odbc_wrap.cpp:5287:
error: expected ';' before numeric constant odbc_wrap.cpp:5324:
error: expected primary-expression before ')' token odbc_wrap.cpp:
In function 'octave_value_list Fodbc(const octave_value_list&, i nt)': odbc_wrap.cpp:9826:
error: 'curr_sym_tab' was not declared in this scope odbc_wrap.cpp:9826:
error: 'link_to_global_variable' was not declared in this s cope odbc_wrap.cpp: At global scope: odbc_wrap.cpp:853:
warning: 'void Swig::swig_register_director(octave_swig_type *, void*, Swig::Director*)' declared 'static' but never defined mingw32-g++-4.4.0-dw2: odbc_wrap.o: No such file or directory make:
*** [odbc.oct] Error 1 >>>'make' returned the following error: make: Entering directory `/tmp/oct-6/da tabase-1.0.4/src' CXXFLAGS="-D_GLIBCXX_DLL -march=i686 -mtune=generic -O3 -Wall" mkoctfile -DHAVE _OCTAVE_32 -v -o odbc.oct -lodbc32 odbc_wrap.cpp mingw32-g++-4.4.0-dw2 -c -Ic:\Octave\3.2.3_gcc-4.4.0\include\octave-3.2.3 -Ic :\Octave\3.2.3_gcc-4.4.0\include\octave-3.2.3\octave -Ic:\Octave\3.2.3_gcc-4.4. 0\include -mieee-fp -D_GLIBCXX_DLL -march=i686 -mtune=generic -O3 -Wall -DH AVE_OCTAVE_32 odbc_wrap.cpp -o odbc_wrap.o mingw32-g++-4.4.0-dw2 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -shared-libgcc -Wl,--allow-multiple-definiti on -o odbc.oct odbc_wrap.o -lodbc32 -Lc:\Octave\3.2.3_gcc-4.4.0\lib\octave- 3.2.3 -Lc:\Octave\3.2.3_gcc-4.4.0\lib -loctinterp -loctave -lcruft -shared-lib gcc -Wl,--allow-multiple-definition -llapack -lblas -lfftw3 -lfftw3f -lreadline -lncurses -liberty -lhdf5 -lz -lm -lgdi32 -lws2_32 -luser32 -lkernel32 -lgfo rtran -lstdc++_s make: Leaving directory `/tmp/oct-6/database-1.0.4/src' error: called from `pkg>configure_make' in file C:\Octave\3.2.3_gcc-4.4.0\share \octave\3.2.3\m\pkg\pkg.m near line 1255, column 2 error: called from: error: C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\pkg\pkg.m at line 714, column 5 error: C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\pkg\pkg.m at line 287, column 7"

Any help would be appreciated.

NanoSector

Probably an outdated mySQL version.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Illori

this forum does not support the building/install of mysql/php/apache to get smf running, you are best to ask for help in a dedicated support forum for what you are trying to build/install.

Deaks

anna1, also please dont hijack threads
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Advertisement: