failure building src on redhat 7.3

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
jon
Posts: 1
Joined: Fri May 06, 2005 10:35 am

failure building src on redhat 7.3

Post by jon » Fri May 06, 2005 10:45 am

After downloading/compiling/installing apr-1-config and apu-1-config, the build dependencies have been satisfied. Now I'm getting a compilation error that seems to be SOS src related. I'm building on redhat 7.3 (2.4.20-28.7). Any help is appreciated.

=======================================================
make[3]: Entering directory `/SOS4.1.1/sos-4.1.1/Gtk/src'
g++ -DPACKAGE_NAME=\"sos\" -DPACKAGE_TARNAME=\"sos\" -DPACKAGE_VERSION=\"4.1.0\" -DPACKAGE_STRING=\"sos\ 4.1.0\" -DPACKAGE_BUGREPORT=\"support@sourcegear.com\" -DPACKAGE=\"\" -DVERSION=\"\" -DHAVE_LIBZ=1 -DHAVE_LIBNSL=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALARM=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1 -DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\) -DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\) -DRETSIGTYPE=void -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOUL=1 -DHAVE_UTIME=1 -I. -I. `pkg-config --cflags gtk+-2.0` -I ../../libs/blowfish -I ../../libs/isaac -I ../../libs/md5 -I ../../libs/sgdcore `apr-1-config --includes` -DLINUX -g -O2 -c AddFilesDlg.cpp
AddFilesDlg.cpp: In function `void SelectionChanged (GtkTreeSelection
*, CAddFilesDlg *)':
AddFilesDlg.cpp:206: `gtk_tree_selection_get_selected_rows' undeclared
(first use this function)
AddFilesDlg.cpp:206: (Each undeclared identifier is reported only once
for each function it appears in.)
AddFilesDlg.cpp: In method `void CAddFilesDlg::ExpandToDir (String &)':
AddFilesDlg.cpp:684: `gtk_tree_view_expand_to_path' undeclared (first
use this function)
make[3]: *** [AddFilesDlg.o] Error 1
make[3]: Leaving directory `/SOS4.1.1/sos-4.1.1/Gtk/src'
make[2]: *** [all-recursive] Error 1
=============================================================

Thanks,
Jon

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon May 09, 2005 9:06 am

There seems to be a problem with GTK. What version of GTK do you have? Perhaps it's an older version.

We'd suggest using GTK 2.4.

It's available from this link:

http://people.sourcegear.com/~linda/
Linda Bauer
SourceGear
Technical Support Manager

Guest

Post by Guest » Mon May 09, 2005 10:53 am

Here is the listing for that directory:
-=------------------------------------------------------------------
GTK2.4.pkg.tar 23-Nov-2004 10:22 25.2M
SOS 4.0.2 RedHat/ 06-Jan-2005 09:46 -
SosClientProfessional_4_0_2.msi 17-May-2004 13:26 4.4M
VaultAdmin_2_0_1.msi 27-Feb-2004 15:52 2.6M
soscmd_4_0_2.exe 17-May-2004 13:22 160k
-=------------------------------------------------------------------

Isn't the GTK2.4.pkg.tar an apple pkg?

./GTK2.4.pkg
./GTK2.4.pkg/Contents
./GTK2.4.pkg/Contents/Archive.bom
./GTK2.4.pkg/Contents/Archive.pax.gz
./GTK2.4.pkg/Contents/Info.plist
./GTK2.4.pkg/Contents/PkgInfo
./GTK2.4.pkg/Contents/Resources
./GTK2.4.pkg/Contents/Resources/Description.plist
./GTK2.4.pkg/Contents/Resources/GTK2.4.bom
./GTK2.4.pkg/Contents/Resources/GTK2.4.info
./GTK2.4.pkg/Contents/Resources/GTK2.4.pax.gz
./GTK2.4.pkg/Contents/Resources/GTK2.4.sizes

Here is the gtk currently on my system.
gtk2-devel-2.0.2-4
gtk2-2.0.2-4
gtk+-devel-1.2.10-15
gtk+-1.2.10-15

Thanks,
-Jon

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue May 10, 2005 2:25 pm

You're right, that is just for our Mac clients. Sorry for the confusion.

But you do still need GTK 2.4.x.

You can get it from:
http://www.gtk.org/download/
Linda Bauer
SourceGear
Technical Support Manager

Post Reply